cancel
Showing results for 
Search instead for 
Did you mean: 

crm webui enhancement - need new popup window

former_member186135
Participant
0 Kudos

Hi Gurus,

My requirement is to create new button in Account creation(individual,corporate,group) next to 'New' button in webui and when button is clicked the new popup window (with selected fields like first name, last name, address...) should be displayed with done button..... when 'done' button is clicked the values entered in popup needs to go original screen and display in corresponding fields in the original screen... then it will be saved from there..

I have created a new enhancement of BP_HEAD with new button, new window, view(blank view),component usage ... now our button is displayed and when it is clicked popup is shown...

i need help on how the fields can be added to popup with 'done' and 'cancel' button and how the values entered in popup can be again displayed to original screen in their corresponding fields (like first name in popup should be display in first name of the original screen, Last name in popup should be display in Last name of the original screen ).

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Prem,

I assume you have created a new view for popup. Once you have created the view, you should add a context node with the required fields in the view. Then as you mentioned you should create component usages and bind this context node to the main component. Once this is done, the context node in the popup can be accessed from the Account creation page. Based on the action the user has chosen(Done, Cancel) you can implement the logic whether to access the context node values of the popup and assign it to the main view.

Best Regards,

Leon

former_member186135
Participant
0 Kudos

Hi Leon,

Thanks for reply....

i have created a structure and added structure as value node to context node of the new FORM view and configured in configuration tab.

added code below code to NewObject.htm to get buttons in popup.

<thtmlb:button design  = "EMPHASIZED"
                id      = "DONE"
                onClick = "DONE"
                enabled = "TRUE"
                text    = "DONE" />
<thtmlb:button design  = "EMPHASIZED"
                id      = "CANCEL"
                onClick = "CANCEL"
                text    = "CANCEL" />

i have created outbound plugs to close the popup when close button is clicked.


The problem here is  :

1). fields are displayed as it is ... it is not displayed in assignment block.

2). the buttons are displayed towards left (left aligned) not displayed in middle.

3). let me know how to can  the values entered in popup can be again displayed to original screen in their corresponding fields (like first name in popup should be display in first name of the original screen, Last name in popup should be display in Last name of the original screen ) when 'done' button is clicked.

former_member186135
Participant
0 Kudos

solved my myself....

Former Member
0 Kudos

Hi Prem Kumar,

Could you please explain how you solved the popup issue of getting the values into the main screen

Thanks in Advance

Answers (0)