Solved

Use third party java script bundle in FSM WebClient page/pages

  • 21 June 2022
  • 5 replies
  • 87 views

Badge +3

We have a requirement to use third party java library (  pre-bundled drop script -UMD/ESM compatible build ) on the web client page/pages.
How do we use this third party library include and use on FSM Webclient page/pages)

Appreciate your valuable inputs
 

icon

Best answer by ruben.maas 3 October 2022, 11:29

View original

5 replies

Userlevel 7
Badge +23

Hi @Kiththa ,

This would need to be raised as a consulting resource request with IFS I believe as there is no standard way to do this.

Kind regards,

Lee Pinchbeck

Badge +3

Hi @ruben.maas ,

Appreciate if you could give suggestion on following.

 

“We have a requirement to use third party java library (  pre-bundled drop script -UMD/ESM compatible build ) on the web client page/pages.
How do we use this third party library include and use on FSM Webclient page/pages)

Solution required:

The address lookup feature needs be called automatically by a user starting to type into a new address lookup field on the address screen. The new field with call the third party address lookup library to fetch the address data.

The user will then be able to select an address from the drop down. On selection the FSM address fields will be automatically populated.

Thanks and Best Regards

/Kithsiri

 

Userlevel 5
Badge +13

Hi @Kiththa

 

Unfortunately, you cannot include JavaScript files to the FSM web client, not without changing the core \ baseline at least.

 

Alternatively, to perform address lookups against external services from the web client would in my view only be possible through the FSM App Server. 

To accomplish this you could develop a custom MPM in FSM, which will perform the address lookup and return collection of rows. 

This MPM can be invoked by client script from web client. 

The user experience will likely be different comparing the pre-bundled drop script you’ve been referring too but these are the options available in the FSM web client. 

 

Cheers, 

 

Ruben

Badge +3

Hi @ruben.maas ,

Thank you very much for your valuable input.

Thanks, best Regards

/Kithsiri

Badge +3

Hi @ruben.maas ,

Is there method in FSM to convert MXL, Json directly into a  Metrix Data row collection? And what will be the best way of perform lookup from mpm/server?  

 

Thanks and Best Regards

/Kithsiri

Reply