Skip 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.

Help with action tags

Featured Replies

I am trying to do searches and display them in a list view HTML template using an action tag like...

----FMPro?-DB=Job_Tracker&-Format=listView.html&-Max=25&-Lay=Schedule_Report_All_Dates&-Script.PreSort=Main_for_report_All_DatesAll_Jobs&-FindAll------

Do I have to have the -findall in there? I get an error if I leave it out. Is this the right format? Am I missing something?

Thanks

G

Find, FindAny, FindAll -- depends on your requirement.

Do not rely on scripts much.

  • Author

I am doing the find in the script. Do I still need the findall, findany or find?

If you are doing a find through a script, you are probably creating a conflict by using a -findall action tag. If you absolutely need to run the script to perform the task, try using the -view action tag. I don't know if this will work for you, but I sense a conflict with what you are already doing.

Peace

Keith M. Davie

  • Author

"-view" only shows the first record in the found set.

The reason I need to use the script is that the find is very complex and I have quite a few of them. I have done this before but I have forgotten how I did it. Can any one else help?

  • Author

OK, I give up. Scripts are the spawn of the devil in respect to CDML. I will use "-find". It seems to work.

quote:

Originally posted by spragueg:

OK, I give up. Scripts are the spawn of the devil in respect to CDML. I will use "-find". It seems to work.

Scripts are not reliable over the web, see my other posts here about that problem.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.