I'm creating a webapp using feature service on webapp builder v 2.5. I have configured the popup window attributes from webmap itself. The webapp has splash widget through which the user can login to app using arcgis portal account.
I need to customize the popup window attributes based on arcgis portal account through coding. For example, if it is admin account to show all the attributes, if it is user/viewer account to show some of the attributes. Is there any way to customize the attribute fields through coding and where I need to update this?
Any help in resolving the issue is highly appreciated. Thank you very much in advance.