Custom Widget to add Temp / Custom field in Attribute Table

435
0
01-23-2022 03:58 PM
Rajeev_2006Gupta
New Contributor

I need to create a custom widget which allow to select 2 fields from a layer and it takes difference of these 2 fields and put the result in a custom temp field in attribute table. Similar to below image.

Rajeev_2006Gupta_0-1642982120268.png

 

I am able to select the layers and its fields but I am not sure how to show the difference in a new field in Attribute table. This new field should be temporary.

 

This functionality can be done through Custom attribute expression from portal but is there way we can use this in WAB custom widget code.

 

Please let me know if you require more information.

Thanks in advance,

Rajeev

0 Kudos
0 Replies