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

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

Recommended Posts

Posted

Hello everyone;

I am curious as to use this function as i have seen mostly it is used to save states of tabcontrol panels. Is this the only use?

Help is quite vague.

thanks in advance,

-ian

Posted

getting contents from a web viewer or chart

http://help.filemaker.com/app/answers/detail/a_id/6146/~/using-the-getlayoutobjectattribute-function

Posted

getting contents from a web viewer or chart

http://help.filemake...ribute-function

What about uses such as this;

GetLayoutObjectAttribute ( "portalObjectName"; "fieldObjectName"; 1 ) //"fieldObjectName" is the object name of my field & portalObjectName is name of portal object. 1 = repeating field

This saves the top portal row for me so the user doesnt lose track when leaving portal. their view is saved. I was thinking if there were other uses of the function such as this or it is just hit / miss messing with different attribute settings,etc within the GLOA function. It is a very long function name indeed.

Posted

I use it to pass parameters to scripts about a layout's state to be used by generalized scripts.

If I want to have a general sorting script, I can add a text box named object.Sort and have the text be LastName or InvoiceID depending on my layout (making it "disappear" with 500px conditional formatting). Then grab that value with a

Set Variable [ $sort ; GetLayoutObjectAttribute ( "object.Sort"; "contents" ) ]

If [ $sort = "InvoiceID ]

Sort[ InvoiceID ; No dialog ]

Else If [ $sort = "LastName" ]

Sort [ LastName ; No dialog ]

End If

This can also be used for other layout-based preferences like deleting or creating new records, page orientation for printing, etc.

  • Like 1
Posted

I use it to pass parameters to scripts about a layout's state to be used by generalized scripts.

If I want to have a general sorting script, I can add a text box named object.Sort and have the text be LastName or InvoiceID depending on my layout (making it "disappear" with 500px conditional formatting). Then grab that value with a

Set Variable [ $sort ; GetLayoutObjectAttribute ( "object.Sort"; "contents" ) ]

If [ $sort = "InvoiceID ]

Sort[ InvoiceID ; No dialog ]

Else If [ $sort = "LastName" ]

Sort [ LastName ; No dialog ]

End If

This can also be used for other layout-based preferences like deleting or creating new records, page orientation for printing, etc.

that is cool david.. Need to try that out. seems interesting just like using the <Merge_variables> tricks.

Posted

I've used it for controlling tab panels and scraping pages in the web viewer, not much else.

Posted

That is really interesting, Daniele! I didn't realize that the "height" was the height of the field contents.

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