Posted: 8 Jun 2017 2:52 EDT Last activity: 12 Jun 2017 8:04 EDT
How to refer a customized overlay in an flowaction.
The requirement is on click of a button in section flow action is launched. Flow action is defined in action tab of that button and using overlay to display the pop up screen. The flow action is launched in default overlay window : pyOverlayTemplate. However I want to open an customized overlay specific to my application.
Could anyone please let me know where should I refer the customized overlay template. Unlike Modal window there is no filed where we can refer customized template in the action set it self.
***Updated by moderator: Lochan to update Categories***
Please follow the below steps to create custom overlay :
Creating custom overlay formats
To create a new style format:
Click Add a format.
In the Create a new format dialog box, type the Format name using only alphanumeric characters (a-z and 0-9) and spaces. The name cannot begin with a number. The style name that you enter is converted into the name CSS class or classes.
Optional: Provide a Usage annotation.
Click OK. The new format is populated with default values.
If you want to create a new format that is a copy of an existing format, right-click the format that you want copy, and click Clone.
Applying a custom overlay format
Configure a local action to display as an overlay.
Press the down arrow in the Overlay Format field to select the custom overlay format that you want to apply.
Thank you for your inputs. I am aware of creating new format ,however I wanted to create a new template.
I believe creating a new format will change how the overlay looks. My requirement was to create a new template and I created it by doing a save as of default pyOverlayTemplate. Challenge was, I was unable to refer that template any where in the local action. I wanted to configure some action sets on OK and Cancel button of Overlay . I don't believe it can be achieved by adding a new format in skin rule.
As per my knowledge,the default OOTB cancel and submit buttons that flowaction refers to are displayed in the modal dialogue or overlay.So,if you want to overwrite the default behaviour you can hide the OOTB butons and add the custom buttons in the section.
To hide the OOTB buttons,Go to flowaction-->action tab-->Action buttons section and select the "Hide the default action sections buttons" checkbox.