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.

DDR - Finding unused scripts?

Featured Replies

Hi, I am trying to delete unused scripts in a solution. I am using the DDR in FMPA8.5 I may be missing the point, but when I look for unused scripts, they are not identified as not being used. It shows if they are used on a layout, on in another script, but doesn't show whether they are used from a button. I have a lot of scripts that are triggered from buttons and these are shown on the DDR exactly the same as unused scripts. Is there something I am missing, or is it the old manual search option...? Can anybody throw any light on the subject. Thanks...

  • 2 weeks later...

It's too bad nobody has answered this one. I would also very much like to know how to track which scripts aren't being used so I can clean them out. I came up with something clunky, but it does work.

If you create a new table called "ScriptUse" and make fields IDNum (autonum), scriptname (txt), dateused (creation date), then you can put a series of steps in EACH of your existing scripts.

The steps essentially write a new record in "ScriptUse" with the name of the scripts captured from 'Insert calculated result: Get(scriptname)'. I tried to make this a subscript step and just add THAT to each script, but then it would only get the name of the subscript, not the main one I was trying to track.

I'm certain that somebody more clever than I can improve on this.

You could make it a sub-script and pass the main script's name to it as the script parameter.

However, such test can only prove that a script is used - not that it isn't.

This is an excellent tool that will accomplish what you want.

http://fmnexus.com/InspectorLite.html

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.