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.

SMLoadJar not available in generated plugin?

Featured Replies

Hi,

I was wondering why SMLoadJar and SMRegisterGroovy aren't available in the generated plugin?. I can't register the ScriptMaster plugin on a client machine with a script, but I can register my own generated plugin. So to get the advanced functions eg. fmpro.executeSql() I need to use my generated plugin. But I would like to be able to register scripts at runtime and also load jar files at runtime like I can with the base ScriptMaster plugin. This would save having to re-deploy an updated plugin every time I change something.

I am thinking it is probably issues with distribution... If my own plugin allows loading code dynamically and registering custom scripts at runtime then anyone who has my file could just copy the plugin and have the full advanced features without having to even look for the ScriptMaster plugin.

Anyway, is there any way of achieving what I would like to do? Or do I need to generate a new plugin every time I change something?

Thanks,

Ryan

Hi Ryan - this is correct, it is a distribution issue. Remember that while generated plugins can be distributed royalty free, the ScriptMaster Advanced license is per user. That is why we do not provide the ability to have a scripted registration process for ScriptMaster Advanced; it is intended to be installed separately on each person's computer and registered in the preferences.

You do have the option of purchase ScriptMaster Advanced for each of your users, and then you could do what you want.

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.