Hey,
I need to know how to set the name of activity as “Customer Name – Purpose – Status” in CRM 2016.
Thank you
*This post is locked for comments
Hey,
I need to know how to set the name of activity as “Customer Name – Purpose – Status” in CRM 2016.
Thank you
*This post is locked for comments
thank you so much
No your function works.
Make sure those fields are filled.
Make sure you refresh the page.
the function as I sent to you and I'm putting it on save..
but the problem I don't know how to make the activity appear as “Customer Name – Purpose – Status” when saving the form.. there's a missing points in my function I don't know what is it..
Thank you so much
Ok how are you triggering the script?
I already fixed it, but it's still not working...
that looks fine. cant see any issues other than the spelling on:
var customername=Xmr.Page.getAttribute("new_customer").getValue();
var purpose=Xmr.Page.getAttribute("new_purpose").getValue();
var status=Xmr.Page.getAttribute("new_status").getValue();
it should be:
var customername=Xrm.Page.getAttribute("new_customer").getValue();
var purpose=Xrm.Page.getAttribute("new_purpose").getValue();
var status=Xrm.Page.getAttribute("new_status").getValue();
function setname()
{
var customername=Xmr.Page.getAttribute("new_customer").getValue();
var purpose=Xmr.Page.getAttribute("new_purpose").getValue();
var status=Xmr.Page.getAttribute("new_status").getValue();
// here i didn't know how to link it
Xrm.Page.getAttribute("name").setValue("Customer Name – Purpose – Status");
}
can you put the entire javascript file on here for me to have a look at?
yes i know the script line but the function is not working with me..
Hi Iman, did you try that script line I put above?
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,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156