I am developing a project which is depend on portal kit. However, on the designer view, the xhtml always shows login page. How to disable it?
HTML Dialog uses JSF, it needs server-side to render HTML. AFAIK on the designer view, it try to parse source code to HTML, it does not need the engine inside designer so it cannot render complex UI. Basically, we could use designer view for simple UI but for complex UI like Portal without IFrame it does not help much.
If you create a new dialog with IFrame in Portal approach, you will not see login page.
If you are using Axon Ivy 8.0, i.e 8.0.19, you could see more about IFrame in Portal approach at https://developer.axonivy.com/documentation/portal-guide/8.0.19/portal-developer-guide/iframe/index.html
Portal has PortalExamples project, you could import it to your designer to try out, refer to https://developer.axonivy.com/documentation/portal-guide/8.0.19/portal-developer-guide/customization/index.html
lttung04 Can you explain more
I have been following these doc (https://developer.axonivy.com/documentation/portal-guide/8.0.19/portal-developer-guide/iframe/index.html#customization)
3.Change the DefaultPages in StandardProcesses to your customized portal project library id. Refer to Standard Processes documentation.
I don't know how to change it. Is it have a button?
Hi @DanielYuHong ,
the StandardProcesses are roughly described here https://developer.axonivy.com/doc/9.2/designer-guide/user-interface/standard-processes/index.html#standard-processes
At Design-Time in there is no convenient switch to set the 'StandardProcesses'. However, you can build a developer utility task, that invokes the API to set another 'StandardProcess' library. Here's a related issues that discusses this API: https://answers.axonivy.com/questions/1647/send-custom-task-notification-mail-in-designer
However, on the Engine it's very common to configure a these StandardProcesses to your liking. So there is a convenient selector in the Engine-Cockpit -> Applications Overview. It helps you also, to pick valid 'libraryIds'.