Need to hide resolve case button when processstatus(Lookup) = Change in NRA . Can anyone please provide javascript code for this one...Help is appreciated
Need to hide resolve case button when processstatus(Lookup) = Change in NRA . Can anyone please provide javascript code for this one...Help is appreciated
good
Hello,
Does it work when you open any existing record where process type is not Change in NRA?
I believe it does not work when you change option set field on the form .
You will have to write below code and attach this on onchange of process type field to refresh your ribbon.
formContext.ui.refreshRibbon();
Hi,
Add debugger in your code ..
Also add alert in your code.
Again try ribbon debugging feature to see which rule is not satisfied
HI bipin the resolve button is hidden when process type = change in NRA but resolve case button should be hidden only when process type = change in NRA but it Is hiding for all values
Hi,
Not required...only keep formContext parameter.
Why did you set Invert Result to true, it should be false only
Shall i pass primary control to function
Hi,
function HideResolveCaseButton(formContext)
{
var processId = formContext.getAttribute(“ownerid”).getValue();
var Name = processId[0].name;
if(name =="Change in NRA")
return false;
else
return true;
}
Replace ownerid with process field schema name
Select primaryControl parameter while calling this method from ribbon enable rule
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156