Advertisements
Home > USD > Set Regarding Lookup and open a new Task form – USD

Set Regarding Lookup and open a new Task form – USD

I was exploring USD and tried below scenario.

From a new Account Session

  • Add a ‘Create Task’ Agent Script Answer.
  • On click, open Task form in a new Tab, pre-populated with ‘Regarding’ lookup with Account.
Set Regarding Lookup

Set Regarding Lookup

I had a tough time to set ‘Regarding’ look up with ‘Customer’ using ‘New_CRM_Page’ UII Action.

I could achieve with ‘Navigate’ UII Action.

Navigate To Task

Navigate To Task

In the URL, I read Account details from Context and set

  • regardingobjectid = Account GUID
  • regardingobjectidname = Account Name
  • regardingobjecttypecode = Schema Name

URL:

/main.aspx?etn=task&extraqs=regardingobjectid%3D[[$Context.Id]u+]%26

regardingobjectidname%3D[[$Context.name]u+]%26regardingobjecttypecode

%3D[[account.LogicalName]u+]&pagetype=entityrecord&navbar=off&cmdbar=false 

Exclude “navbar=off&cmdbar=false” from URL, if you want CRM tool bar on the new ‘Task’ form.

🙂

Advertisements
Categories: USD Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: