Jump to content
Server Maintenance This Week. ×

Modifying the File Reference of a Container field for Runtime


argwallace

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

Recommended Posts

Hello,

 

I am managing a runtime solution that contains container fields that store their data by reference rather than inserting the actual data into the container. What is the easiest way to update the path of this referenced file without having to reimport the content again? I know i can use the GetAsText (container::field) to get the current path, but is there a way to modify the underlying path?

 

Thanks in advance and regards,

 

Stephen

Link to comment
Share on other sites

Hi
 
you could give a try to this simple method:
 
paste the new path ( "filemac:etc" ) into the container
 
If that satisfies you, you could use the "Replace Field Content..." Records sub-menu to change the path to all the records.
Link to comment
Share on other sites

I know i can use the GetAsText (container::field) to get the current path, but is there a way to modify the underlying path?

 

The reference is stored in the container field as text - and can be modified by setting the field (or replacing the field contents) to the same text modified by text functions.

Link to comment
Share on other sites

This topic is 4153 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.