Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Am I missing an obvious script process to navigate to a field based on name or can it not be done? I'd like to be able to go to a field based on the field name passed via script parameter. The Go To Field script step only lets you hard specify the field to jump to. I need it to be a little more fluid than that.

Any idears?

Thanks

Posted (edited)

Yeah, I've been using that but I'd like to be able to nav to a container field and do an Export Field Contents dynamically. The specify field option on the Export Field Contents step is likewise a hard specify only option.

I can do a Set Field on a global container and pull over the content of another container dynamically with the GetField function and then export the contents of the global container to disk but that moves the data twice and if the data is large and/or the solution is hosted on a server with a slow connection that can make the process pretty ponderous.

I'm hoping I can work it so that I just export the source field one time and be done with it rather than having to move things to a global that I can rely on in subsequent script steps.

Edited by Guest
Posted

I'd like to be able to go to a field based on the field name passed via script parameter.

Pass the Object name via script parameter and then:

Go to Object [ Get ( ScriptParameter ) ]

Export Field Contents [ <--no field here--> ; $path ]

Posted

I really don't want to have to give an object name to all the container fields I'd like to potentially export data from with one master script. Yeah, it can be done that way but that's a lot of leg work just to compensate for FM's inability to nav to a field by name like it can an object.

Posted

I believe the only other way is to loop through the fields on the layout until the active field's name is the one you want (provided, of course, that the field is included in the tab order).

Posted

Thanks all for the info. Looks like I'm going to be assigning object names to all my containers. Bummer.

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