Jump to content
Salesforce and other SMB Solutions are coming soon. ×

RE: Container Field File Names


rsb87
 Share

Recommended Posts

Is there a function or method a person could use to dynamically grab the name of a file that is in a container field? I can't seem to find one. Any help would be greatly appreciated.

 

Cheers,

 

rsb87

Link to comment
Share on other sites

Is there a function or method a person could use to dynamically grab the name of a file that is in a container field? I can't seem to find one. Any help would be greatly appreciated.

 

Cheers,

 

rsb87

Hi rsb87,

Simply referencing the container field with the expression:

 

GetAsText ( YourContainerField )

 

...will return the name of the file (or picture or movie etc) which is in the container field (needless to say, the result of the calculation should be specified as "text"). smiley_cool

Link to comment
Share on other sites

I think I figured something out. It seems to be working correctly although I'm not sure if it will continue to behave this way, but if you use the getastext(input container field) function, it will bring back the file name of the item in the container field. Hopefully this will help anybody else who has a similar problem.

 

Cheers,

 

rsb87

Link to comment
Share on other sites

GetAsText ( Containerfield ). The actual result will vary according to the method the field was populated, but the filename will always be there - in one way or another.

 

You can also define a text field and route the filename to it when importing.

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

Terms of Use