You can but you have to know the ID of the file in the database which will take some database querying.
Vault: Product Data
Projectid: FolderID number
Documentid: File ID number
I think objecttype of 1 is a file.
thanks for the feedback
i need to more information for your propouse way
like a example there is an butten in the data card and when the originator call the template in vault he have the facility to connect the file in the vault and after check inthe file he can open the file by clicking the button
this is for users to find the correct file without browsing or searching
looking for support
I'm not sure I understand exactly what you want to do.
The method I gave only works well for linking to one specific file. In our case its a button on an ECO form that always opens the same document...in this case a contact list of phone numbers so the eningeer can call the responsible people for different sections of our product.
What you're after sound like it would a different file everytime. You ma need to program an add-in if that'a the case.
I hate to but in to this thread but since it's 8 months old I guess it's okay. I'm looking up ways to add help files on cards to guide users in standard operating procedures for vault use. I thought there might be some built in functionality but do not see anything. You button idea could be the ticket but I need more info. You say I need an internal ID to open a file? Can you explain how to get this information?
Let me explain a way I've done this:
- Convert <your operating procedure> document to an mhtml file using Microsoft Word save as
- In the save as dialog box, change the "Save as type:" to "Single file web page (*.mht; *.mhtml)"
- Copy the saved mhtml file to a folder in <your vault>
- In the card editor, add the button to the card
- Set the button "Command type:" pull down to "Web page"
- In the "WWW-address:" box enter "file:\\C:\<your vault>\<procedures subfolder>\<your operating procedure.mht>"
Hope this does the trick for you.
Tim Webb CEPA
That's a great suggestion, Tim!
One note...in our instance, it doesn't seem to work if the *.mht file isn't cached. When not cached, I get an "Error 0x0800004005 navigating to..." error window. However, if I have it cached (easily fixed by placing such files in a specific folder and using Group settings for refreshing cache on log in), it works perfectly.
Will explore how we can use this for reference materials. Thanks Tim!