Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Modifying the File Reference of a Container field for Runtime


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

Recommended Posts

Posted

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

Posted
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.
Posted
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.

Posted

Thanks for the comments! I do see that the text has 2 filepaths. If I were to replace the field contents, would i need to include both of these paths too or simply the filemac one?

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