Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"request.node.pVolumeID" returns Workspace ID

Status
Not open for further replies.

menu

Technical User
Apr 25, 2001
24
AE
Hello,

"request.node.pVolumeID" returns the Workspace ID if you are opening the object (form) from within a workspace, however when you open the object from the personal workspace the "request.node.pVolumeID" does not return any thing. Is there is any other way to get the object's workspace ID when you open it from Personal workspace using WebLingo.

Thanks,

Alshreef
 
I ran a quick test and was able to get the volumeID when browsing a folder in a personal workspace. It could be related to the format of request.node in certain situations. In some cases it is a Record type instead of a DAPINODE type. Try the following:

if type(request.node) == RecArray.RecordType )
volumeID = request.node.ownerid
else
volumeID = request.node.pVolumeID
end
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top