Can sprintf or vsprintf be installed with connect?

Can sprintf or vsprintf be installed with connect?

If so how do we install it for designer and work flow?

Glenn,

You can most definitely install something like sprintf-js (which is both sprintf and vsprintf) and use it, as with any other JavaScript library in Designer. However, it might not be necessary - Connect already offers a full formatting suite for all the data types we support (date, currency, etc). When you add a Text Script, you simply need to use the “Format” column to choose the formatting. As for the language, it uses the settings found in Edit -> Locale.

Some references:

http://help.objectiflune.com/en/planetpress-connect-user-guide/1.3/designer/designer_locale_dialog_title.htm

http://help.objectiflune.com/en/planetpress-connect-user-guide/1.3/designer/script_edit_text.htm

~Evie

How do we install sprintf-js in designer? And then would it need to be installed on the watch server as well?

I see several different methods to install, but not sure which one connect would need.