HALBURN Posted April 15, 2015 Posted April 15, 2015 I am using GetLayoutObjectAttribute script step to grab the value of a field. What script step do I need to use to set this same object with a new value? Do I need to use the GetLayoutObjectAttribute to grab the Field Name and then use the "Set Field By Name" script step to set it...or is there a more efficient way to set it?
eos Posted April 15, 2015 Posted April 15, 2015 use the GetLayoutObjectAttribute to grab the Field Name and then use the "Set Field By Name" script step to set it That will work; why not try it?
HALBURN Posted April 15, 2015 Author Posted April 15, 2015 For some reason my script step is not grabbing the field's name. GetLayoutObjectAttribute( GetValue( Get ( ScriptParameter ) ; 1 ) ; "fields")
HALBURN Posted April 15, 2015 Author Posted April 15, 2015 I am successfully using this to grab the fields current value: GetLayoutObjectAttribute( GetValue( Get ( ScriptParameter ) ; 1 ) ; "content")
eos Posted April 15, 2015 Posted April 15, 2015 GetLayoutObjectAttribute() has no “fields” attribute; use "source". 1
Recommended Posts
This topic is 3857 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 accountSign in
Already have an account? Sign in here.
Sign In Now