May 19, 201015 yr 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
May 19, 201015 yr The "Set Field by Name" script step first appeared in Version 10 ... FMI Version History Chart (up to v10)
May 19, 201015 yr Author 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 May 19, 201015 yr by Guest
May 19, 201015 yr 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 ]
May 20, 201015 yr Author 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.
May 20, 201015 yr 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).
May 20, 201015 yr Author Thanks all for the info. Looks like I'm going to be assigning object names to all my containers. Bummer.
Create an account or sign in to comment