Hi,
I posted this in the DXL forum but it might be more appropriate here.
A number of my users save documents (Word, Excel, PDF etc.) as OLE objects within modules. I'm trying to put a stop to that and get them to save their documents outside of DOORS and just link to them.
The issue I'm facing is that when I cut and paste or drag and drop an OLE object to a folder on the hard drive, it shows up as a Scrap file.
No matter what I do, I can't get it to save as the correct format. Has anyone encountered this issue? Any ideas on how to save documents back to the hard drive properly?
Thanks.
Agustine
dasilvaa - Wed Aug 26 14:09:56 EDT 2009 |
|
Re: OLE objects saved as Scrap files llandale - Thu Aug 27 17:47:17 EDT 2009
I don't know what a 'scrap' file is.
If you double-click on the Object Text to begin editing it, then single-click on the OLE, the bottom of the Edit Menu you find a Documement Object ... sub-menu, allowing you to 'Edit' it (edit in place), or 'Open' it (invokes the source application such as MS-Word). You should be able to save it from there.
However, if you inserted a bit map, perhaps cntl-PrintScreen then paste into the Text, you get a static bit-map not an OLE, there is no corresponding application and you cannot 'open' it.
|
|
Re: OLE objects saved as Scrap files dasilvaa - Fri Aug 28 09:01:45 EDT 2009 llandale - Thu Aug 27 17:47:17 EDT 2009
I don't know what a 'scrap' file is.
If you double-click on the Object Text to begin editing it, then single-click on the OLE, the bottom of the Edit Menu you find a Documement Object ... sub-menu, allowing you to 'Edit' it (edit in place), or 'Open' it (invokes the source application such as MS-Word). You should be able to save it from there.
However, if you inserted a bit map, perhaps cntl-PrintScreen then paste into the Text, you get a static bit-map not an OLE, there is no corresponding application and you cannot 'open' it.
Here's Microsoft's definition of a scrap file: http://support.microsoft.com/kb/138275 (an article that was not really informative regarding scrap filse and completely unhelpful in resolving my problem).
When I single click on the OLE object, I do get the Document Object menu but the behaviour for Edit and Open options is the same, the document opens up in Word both times.
However, the issue isn't editing the document, it's getting it out of DOORS completely. If it isn't too much trouble, can you try and see if you observe the same behaviour? Add a Word or Excel document as an OLE object to a module, and then drag and drop it to the desktop. Does it show up as the proper format (Word or Excel document), or does it save as a different icon with the filename of 'Scrap' and an extension of 'shs'?
Agustine
|
|
Re: OLE objects saved as Scrap files SystemAdmin - Fri Aug 28 09:43:52 EDT 2009 dasilvaa - Fri Aug 28 09:01:45 EDT 2009
Here's Microsoft's definition of a scrap file: http://support.microsoft.com/kb/138275 (an article that was not really informative regarding scrap filse and completely unhelpful in resolving my problem).
When I single click on the OLE object, I do get the Document Object menu but the behaviour for Edit and Open options is the same, the document opens up in Word both times.
However, the issue isn't editing the document, it's getting it out of DOORS completely. If it isn't too much trouble, can you try and see if you observe the same behaviour? Add a Word or Excel document as an OLE object to a module, and then drag and drop it to the desktop. Does it show up as the proper format (Word or Excel document), or does it save as a different icon with the filename of 'Scrap' and an extension of 'shs'?
Agustine
Yes, it is doing the same for me: DOORS 8.3 - insert an OLE object as icon. When I drag it to the desktop a Scrap file is created. Other way round it goes fine, you can drag a file from desktop and drop it into a DOORS object while editing.
|
|
Re: OLE objects saved as Scrap files Peter_Albert - Fri Aug 28 09:53:01 EDT 2009 SystemAdmin - Fri Aug 28 09:43:52 EDT 2009
Yes, it is doing the same for me: DOORS 8.3 - insert an OLE object as icon. When I drag it to the desktop a Scrap file is created. Other way round it goes fine, you can drag a file from desktop and drop it into a DOORS object while editing.
But this behaviour is the expected one for all Windows programs. Drag a file from the desktop in an open Word file, this creates an OLE object in the Word file. Drag the OLE object back to the Desktop, and a scrap file is created.
|
|
Re: OLE objects saved as Scrap files llandale - Fri Aug 28 10:23:43 EDT 2009 dasilvaa - Fri Aug 28 09:01:45 EDT 2009
Here's Microsoft's definition of a scrap file: http://support.microsoft.com/kb/138275 (an article that was not really informative regarding scrap filse and completely unhelpful in resolving my problem).
When I single click on the OLE object, I do get the Document Object menu but the behaviour for Edit and Open options is the same, the document opens up in Word both times.
However, the issue isn't editing the document, it's getting it out of DOORS completely. If it isn't too much trouble, can you try and see if you observe the same behaviour? Add a Word or Excel document as an OLE object to a module, and then drag and drop it to the desktop. Does it show up as the proper format (Word or Excel document), or does it save as a different icon with the filename of 'Scrap' and an extension of 'shs'?
Agustine
Well, once you have it in MS-Word, then use the Word file menu to save it as you like.
I see that if you do drag it to a folder you do get a Scrap file, but I also notice if you drag that Scrap file into MS-Word, you get your OLE back; although I see the resolution isn't so good.
|
|
Re: OLE objects saved as Scrap files SystemAdmin - Fri Aug 28 13:31:39 EDT 2009 Peter_Albert - Fri Aug 28 09:53:01 EDT 2009
But this behaviour is the expected one for all Windows programs. Drag a file from the desktop in an open Word file, this creates an OLE object in the Word file. Drag the OLE object back to the Desktop, and a scrap file is created.
OK, good to know that Windows behaves as designed :-)
|
|
Re: OLE objects saved as Scrap files kbmurphy - Fri Aug 28 18:47:44 EDT 2009 SystemAdmin - Fri Aug 28 13:31:39 EDT 2009
OK, good to know that Windows behaves as designed :-)
Why is nobody questioning the dasilvaa's question?
99.99999% of the time it is better to save OLE objects in DOORS rather than link to them.
Does the poster know that many people will just link to objects on their C:\ drive that no one else will be able to see or edit?
What about network access or Citrix or long-term planning in general? What if you have external access to DOORS? What if someone asks you to troubleshoot a link that you don't have access to? What if you want to do a partition and rejoin? What if someone MOVES THE FILE? Why use OLE at all when you could use an external DOORS Link to do the same thing with a blank object?
What do you have against users putting Word documents and Excel files into DOORS? This is certainly better than what you are proposing, unless you're in the .000001% environment.
I don't mean to come across as harsh, but while everyone gave dasilvaa the technical answer, no one asked why he/she wants to do such a thing to begin with.
|
|
Re: OLE objects saved as Scrap files SystemAdmin - Sat Aug 29 08:38:22 EDT 2009 kbmurphy - Fri Aug 28 18:47:44 EDT 2009
Why is nobody questioning the dasilvaa's question?
99.99999% of the time it is better to save OLE objects in DOORS rather than link to them.
Does the poster know that many people will just link to objects on their C:\ drive that no one else will be able to see or edit?
What about network access or Citrix or long-term planning in general? What if you have external access to DOORS? What if someone asks you to troubleshoot a link that you don't have access to? What if you want to do a partition and rejoin? What if someone MOVES THE FILE? Why use OLE at all when you could use an external DOORS Link to do the same thing with a blank object?
What do you have against users putting Word documents and Excel files into DOORS? This is certainly better than what you are proposing, unless you're in the .000001% environment.
I don't mean to come across as harsh, but while everyone gave dasilvaa the technical answer, no one asked why he/she wants to do such a thing to begin with.
I have to say that I am thinking in the same direction as the original poster: large scale use of OLE objects in DOORS leads to large scale problems with modules slowing down, exports being almost impossible etc.
External links would be one way to go, another maybe would be using same kind of document version management system and linking to it. This kind of approach would still leave OLE's with small (Excel) tables, different pictures, e.g. Visio diagrams, CAD drawings which are quite hard to store as documents - a whole Word document is easy to place in some external storage and link to it.
|
|
Re: OLE objects saved as Scrap files mcnairk - Sat Aug 29 09:53:53 EDT 2009 SystemAdmin - Sat Aug 29 08:38:22 EDT 2009
I have to say that I am thinking in the same direction as the original poster: large scale use of OLE objects in DOORS leads to large scale problems with modules slowing down, exports being almost impossible etc.
External links would be one way to go, another maybe would be using same kind of document version management system and linking to it. This kind of approach would still leave OLE's with small (Excel) tables, different pictures, e.g. Visio diagrams, CAD drawings which are quite hard to store as documents - a whole Word document is easy to place in some external storage and link to it.
I gotta disagree with Pekka and agree with Kevin (although not quite as strongly...).
We have several graphics rich documents in DOORS with embedded OLE objects (images and Word tables). The modules are even sharehable at level 2 and we haven't baselined for along time, but opening and saving aren't that slow. Exporting to Word is no problem using WEXP . Since we are using Citrix and the server is not accessible to the majority of users, links to files is not an option.
YMMV
Ken.
|
|
Re: OLE objects saved as Scrap files sammyc - Sat Aug 29 10:52:00 EDT 2009 kbmurphy - Fri Aug 28 18:47:44 EDT 2009
Why is nobody questioning the dasilvaa's question?
99.99999% of the time it is better to save OLE objects in DOORS rather than link to them.
Does the poster know that many people will just link to objects on their C:\ drive that no one else will be able to see or edit?
What about network access or Citrix or long-term planning in general? What if you have external access to DOORS? What if someone asks you to troubleshoot a link that you don't have access to? What if you want to do a partition and rejoin? What if someone MOVES THE FILE? Why use OLE at all when you could use an external DOORS Link to do the same thing with a blank object?
What do you have against users putting Word documents and Excel files into DOORS? This is certainly better than what you are proposing, unless you're in the .000001% environment.
I don't mean to come across as harsh, but while everyone gave dasilvaa the technical answer, no one asked why he/she wants to do such a thing to begin with.
I agree from my experience and must comment that Kevin speaks from pure experience with DOORS and likely from using other RM products that promote linking to objects outside of the database (not mentioned here ;o)....). The external links in DOORS are useful for some artifacts but OLE objects are best managed in DOORS - one reason is that DOORS is an OO database and can capture the changes made to OLE objects in the history records - very nice for active chng mgmt to OLE objects. Another problem is the linking to external artifacts in the file system that have to have a separate access control point for mgmt - this just complicates your environment w/o reason. And one additional reason is the inability to watch for changes to the objects if stored outside of DOORS which prevents the use of suspect links to manage the changes to the OLE objects.
|
|
Re: OLE objects saved as Scrap files dasilvaa - Mon Aug 31 10:04:06 EDT 2009 sammyc - Sat Aug 29 10:52:00 EDT 2009
I agree from my experience and must comment that Kevin speaks from pure experience with DOORS and likely from using other RM products that promote linking to objects outside of the database (not mentioned here ;o)....). The external links in DOORS are useful for some artifacts but OLE objects are best managed in DOORS - one reason is that DOORS is an OO database and can capture the changes made to OLE objects in the history records - very nice for active chng mgmt to OLE objects. Another problem is the linking to external artifacts in the file system that have to have a separate access control point for mgmt - this just complicates your environment w/o reason. And one additional reason is the inability to watch for changes to the objects if stored outside of DOORS which prevents the use of suspect links to manage the changes to the OLE objects.
Thanks for the info folks. The reason I was wondering if there was a glitch was because scrap files are only created for MS Office products (Word, Excel, PowerPoint, Project etc.) while other files like TXT, JPG, ZIP are unaffected. It seems a little odd that the system would discriminate based on format or extension but I guess that's just the way it works.
Kevin, Ken: Pekka hit it pretty much on the head. We've found that adding OLE objects increases the size of our database and there have already been some performance hits (I should add that we're currently using Doors 8.1). Even beyond that, my organization has an existing enterprise system that already provides comprehensive document management, We have specific rules and guidelines regarding how documents are supposed to be life-cycled. These systems already provide linking mechanisms which work quite well with Doors (user access is setup in a similar fashion), so there really isn't a good reason why project teams using Doors should also store their documents there. For all of Doors' benefits, it is not a document management system.
Sammyc is right that Doors can capture the changes made to OLE objects via the history, but then we get into the issue where people who need to only view/edit the OLE objects have to get a Doors account and be granted access to the encapsulating module. Our thinking is that since we have a Document Management System, why not let it do what it does best and allow Doors to link to it and just focus on managing requirements.
It's what works for us.
Agustine
|
|
Re: OLE objects saved as Scrap files llandale - Mon Aug 31 10:35:13 EDT 2009 dasilvaa - Mon Aug 31 10:04:06 EDT 2009
Thanks for the info folks. The reason I was wondering if there was a glitch was because scrap files are only created for MS Office products (Word, Excel, PowerPoint, Project etc.) while other files like TXT, JPG, ZIP are unaffected. It seems a little odd that the system would discriminate based on format or extension but I guess that's just the way it works.
Kevin, Ken: Pekka hit it pretty much on the head. We've found that adding OLE objects increases the size of our database and there have already been some performance hits (I should add that we're currently using Doors 8.1). Even beyond that, my organization has an existing enterprise system that already provides comprehensive document management, We have specific rules and guidelines regarding how documents are supposed to be life-cycled. These systems already provide linking mechanisms which work quite well with Doors (user access is setup in a similar fashion), so there really isn't a good reason why project teams using Doors should also store their documents there. For all of Doors' benefits, it is not a document management system.
Sammyc is right that Doors can capture the changes made to OLE objects via the history, but then we get into the issue where people who need to only view/edit the OLE objects have to get a Doors account and be granted access to the encapsulating module. Our thinking is that since we have a Document Management System, why not let it do what it does best and allow Doors to link to it and just focus on managing requirements.
It's what works for us.
Agustine
If your docs are managed elsewhere, then perhaps you should simply 'refer' to them from some DOORS object, perhaps ".. as per 'Environment Chart' Doc # ER58uIInf, table 3.1.5.4.", rather than having someone create a DOORS link to it.
|
|
Re: OLE objects saved as Scrap files sammyc - Mon Aug 31 11:26:48 EDT 2009 llandale - Mon Aug 31 10:35:13 EDT 2009
If your docs are managed elsewhere, then perhaps you should simply 'refer' to them from some DOORS object, perhaps ".. as per 'Environment Chart' Doc # ER58uIInf, table 3.1.5.4.", rather than having someone create a DOORS link to it.
In addition, if you need to link from an external doc to a DOORS object, you can use the URL linking feature to traverse to DOORS objects such as projects, folders, modules or unique objects to provide reference points as needed. You can always use the DOORS Web Access client to provide s simple browser access solution for read or edit functions versus a full native client install.
|
|
Re: OLE objects saved as Scrap files kbmurphy - Mon Aug 31 15:52:41 EDT 2009 dasilvaa - Mon Aug 31 10:04:06 EDT 2009
Thanks for the info folks. The reason I was wondering if there was a glitch was because scrap files are only created for MS Office products (Word, Excel, PowerPoint, Project etc.) while other files like TXT, JPG, ZIP are unaffected. It seems a little odd that the system would discriminate based on format or extension but I guess that's just the way it works.
Kevin, Ken: Pekka hit it pretty much on the head. We've found that adding OLE objects increases the size of our database and there have already been some performance hits (I should add that we're currently using Doors 8.1). Even beyond that, my organization has an existing enterprise system that already provides comprehensive document management, We have specific rules and guidelines regarding how documents are supposed to be life-cycled. These systems already provide linking mechanisms which work quite well with Doors (user access is setup in a similar fashion), so there really isn't a good reason why project teams using Doors should also store their documents there. For all of Doors' benefits, it is not a document management system.
Sammyc is right that Doors can capture the changes made to OLE objects via the history, but then we get into the issue where people who need to only view/edit the OLE objects have to get a Doors account and be granted access to the encapsulating module. Our thinking is that since we have a Document Management System, why not let it do what it does best and allow Doors to link to it and just focus on managing requirements.
It's what works for us.
Agustine
Agustine,
Sounds like you know what you're doing and the solution works for your company. I have very strong opinions (from experience, mind you) and just wanted to ensure that you knew what you were getting in to before you did something you could regret.
Lots of people read these forums and then get their own crazy ideas...someone could read your question and then assume that OLE objects in DOORS are bad. While I have found that they do make Word exports take longer, that's a tradeoff I've never had a problem with.
Kevin
|
|