Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Global Variable is not working correctly

Featured Replies

  • Newbies

In my file I have two related tables and 5 unrelated tables.  I have 5 layouts.  In the header I use: <<$$Title>>: <<$$LayoutName>> to display the script results.  The scripts are

1. Set Variable [$$Title; Value: Get(FileName)]  

And

2. Set Variable [$$LayoutName; Value: Get(LayoutName)] 

Both scripts are combined into a single script that is triggered when "Entering" the layout.

The problem: Some layouts return the Layout Name incorrectly.  eg. Layout = Futures Studies returns Futures  and Layout = Contract Information  returns Contract.

 

Thoughts?

Are you sure the text object is wide enough to show the entire text?

--
Note that all Get() functions can be placed on a layout directly: in your example, you could replace:

<<$$Title>>: <<$$LayoutName>>

with:

{{FileName}}: {{LayoutName}}

and do away with the script and the script trigger.

 

  • Author
  • Newbies

Problem Solved: I needed to expand the text box to show "All" of the information.

6 hours ago, comment said:

Are you sure the text object is wide enough to show the entire text?

--
Note that all Get() functions can be placed on a layout directly: in your example, you could replace:

<<$$Title>>: <<$$LayoutName>>

with:

{{FileName}}: {{LayoutName}}

and do away with the script and the script trigger.

 

I like your recommendation, AND the solution to the initial problem.  Thank you.  Problem Solved.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.