cancel
Showing results for 
Search instead for 
Did you mean: 

Coding script EventHandler for a 'x' close button of a floorplan

Former Member
0 Kudos

Hi,

I am trying to extend a lower layer UI QA floorplan to add functionality to the 'x' close button present in top right corner of the page.

Requirement basically is to open a modalDialog upon clicking the 'x' button (based on condition that will go in the eventhandler script).

When I create the xbo for the lower layer BO and click open the right screen using Enhance Screen, in the Extensibility Explorer, I don't see an anchor that may help me modify an event handler...

My question is...

a) are we allowed to modify/add scripting to lower layer buttons?

      b) If yes, how do we find out whether a particular floorplan allows extension on that button.

      c) If no, is there a different approach to design that I should be taking?

Thanks,

Vineet.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vineet,

No, It is not possible to add/modify buttons or actions or any kinfd of scripts in the lower layer using ByD studio.

The maximum workaround you can do is to add an embedded component inside the standard UI's Floorplan(That you can add if UI has PublicOutport Enabled). In that as well you can only call standard ABSL actions enabled for partners.but you cant still call Standard UI event Handlers.

You can try adding embedded component and there you can experiment your target.

Former Member
0 Kudos

Hi Saurabh,

Thanks for the response.

As an alternative, we were thinking if we create a new WoC and a workcenter view, to which we add the lower layer component (essentially creating a duplicate of the lower layer, which we can assign to the users, instead of the original component).

I created a new *.WCF.uiwoc and a *.uiwocview and then tried adding a lower layer OWL component into the view using Configuration Exploer. Upon activating, its giving validation message "Its not allowed to reference this SAP contentn here".

Will this be a limitation for all lower layer components...? Given that I am allowed to add the component using Configuration Explorer, looks to me like I should be able to add some components?

Thanks,

Vineet.

Former Member
0 Kudos

Hi vineet,

Yes ,you can add standard Wcview to your custom WCF files without any problem.

But you cannot add standard OWL files to your custom  Wcview.

Also, as Standard OWL files are contained in standard Wcview files only, So intead of thinking of adding standard OWL files, just think of adding standard WCview to your custom WCF.

I hope this answer your question.

Answers (0)