Form widget The form widget is a platform form within the Service Portal UI with a few differences. Figure 1. Form widget Table 1. Supported and unsupported form scripts Form script Description Client scripts Service Portal uses UI type set to All or Mobile/Service Portal. Client Scripts marked as Desktop rely on legacy APIs that aren't supported by Service Portal. Before flagging a script as Mobile or All, make sure you are only using mobile APIs. UI Actions All server-side UI actions are supported in Service Portal, although setRedirectURL() operations are ignored because Service Portal forms handle redirection in a different way than the platform.Any UI Actions marked as Client are ignored by the form widget. UI Policies Supported, although you should use only declarative UI Policies. Avoid scripting unless the outcome cannot be achieved through the condition builder. UI Macros Not supported as UI macros use Jelly. Formatters Not supported as formatters use Jelly.