Jump to content
Server Maintenance This Week. ×

Get Container Path


This topic is 3271 days old. Please don't post here. Open a new topic instead.

Recommended Posts

This only returns the text name of the file.

​No, it returns (1) the file name, (2) the absolute path to the file and (3) the relative path to the file, in a return-separated list. So =

GetValue( GetAsText ( ContainerField ) ; 2 )

will return the absolute path, for example.

Link to comment
Share on other sites

And you're asking this because ...?

EDIT: I meant browse, not search, especially since there is an entire function category "Container".

GetContainerAttribute() with attribute "externalFiles" returns the path of the referenced file, even if that word wasn't used by the author.

Edited by eos
Link to comment
Share on other sites

Not sure this is not working for me. This returns a blank field. If I set the value to 1, I receive just the file name, but when I set it to 2 or 3 the calc returns blank.

GetValue( GetAsText ( ContainerField ) ; 2 )
Link to comment
Share on other sites

Makes sense, but when I click insert file I click on the checkbox to 'store as reference only'  Is there something that I need to do in the field definition of the container itself? Not sure what to try next.

 

Link to comment
Share on other sites

This topic is 3271 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.