Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
File path of imported document - nrs script
DavidBLP
When users import documents into Desksite/Filesite 8.2, I want to get the local file path of the original file being imported.
Within an nrs script, is there a context item that will tell me the file path in the NewProfileCmd events, or another way to get this information?
Thanks
Find more posts tagged with
Comments
DaleN
There's only limited support for this. In the NewProf.nrs you can have code like:
Sub NewProfileCmd_OnInitDialog(pDlg)
Dim strFile
On Error Resume Next
strFile = Context("IManExt.Import.FileName")
MsgBox strFile
End Sub
The issue is that dragging and dropping a file into a folder will return you a file name but doing a right-click > Import on a document folder won't return anything.