on 09-22-2015 2:53 PM
Hi,
I need to enable the Create new button on custom EC screen embedded into standard opportunity
only when the Competitor info is maintained in opportunity. Is there a way to do this?Any suggestions are helpful.
I see the option Calculation rule in the Advanced option of Enable property for Button.But not sure if I can write code for Opportunity
Query execution and then to access competitor info from there.The syntax is showing some Ruby error.
Regards
Jayasri
Do the following (all in SDK). This is the design pattern when you need to make UI elements hidden/shown, editable/readonly, mandatory/optional via "code". The page layout will let you simple dynamic UI scenarios by role and by header code list value. when you need to evaluate a runtime condition (when a specific value exists in the header or node of the BO) then you need to do it in code.
1. Add an extension field type indicator to the oppty, default false
2. Add an after modify code exit to the oppty where if the "data" (competitor info) is set, then set the indictator true
3. In UI designer, set the visibility (this property makes the control hidden or shown) or editable property ( this property makes the control "greyed out"- not editable) you decide which UX you want. Set "special" attribute of the UI property and map it to the indicator created in step 1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.