web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How can i set the keywords as a default value in the quick create form

(0) ShareShare
ReportReport
Posted on by 407

Hi guys,

I enter the key words in the lookup field to search records, then click New button.

8015.account.png

In the quick create form of Account.

The key words which i enter in the lookup field is set to the field of Account Name  as a default value in the quick create form of Account.

6457.create.png

Just as show above,

I create a new lookup field(Address), after i click the New button. 

The key words i enter in the lookup field doesn't set as a default value in the new quick create form.

4786.quickcreate.png

How can i set the keywords as a default value in the quick create form.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ashlega Profile Picture
    34,477 on at

    Hi Jack,

     I think this only works for quick create forms:

    blogs.msdn.microsoft.com/.../new-capabilities-in-crm-lookups

      What you have there for "New Address" does not look like a quick create form. If it's a custom entity, you need to enable quick create for that entity first (in the customizations area), and, then, you need to create a quick create form.

      If it's an out-of-the-box Address entity (does not look so), then you cannot add quick create forms to that entity

  • Guowei_Xu Profile Picture
    407 on at

    Hi Alex,

    Many thanks for your reply.

    I have double checked the entity of Address, it is not allow Quick Create.

    0243.4.png

    I create a new entity Address2 and allow Quick Create. 

    3704.2.png

    Add a lookup field address2 on the form of lead.

    6428.3.png

    When click the +New link, the search text isn't automatically added to the Name field as shown below.

    0243.4.png

    0243.4.png

    8585.6.png

    I don't know how to use this functionality in a custom entity?

  • ashlega Profile Picture
    34,477 on at

    Hi Jack,

     in the last two screenshots, are you "quick creating a lead" and, then, starting to "quick create" an address?

     Can you try bringing up "address quick create"  from a regular lead form - would it work? I just think that two quick creates in a row is a bit too much for this functionality

  • Guowei_Xu Profile Picture
    407 on at

    Hi Alex,

    I put the Address2 field in the Main Form of lead, but it still not work.

    57148.2.png

    57148.2.png

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Jack,

    You can write javascript code for filtering the lookup and set a default custom view to the lookup.

    See: community.dynamics.com/.../lookup-filtering-using-addcustomview

    Hope this helps.

  • Guowei_Xu Profile Picture
    407 on at

    Hi Nithya,

    Thanks for your reply,

    I enter the keywords to search for a related records in the lookup field. If i can't find it, i will click the +New button to add a new record. I will set the keywords which used for search as a default value in the new create form.

    If i do as your suggestion, i don't know how to get the keywords which used for search related records in the lookup field.

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Jack,

    In the fetchXML part, you can filter the records by using the code below.

    <condition attribute="name" operator="like" value="keyword%" />

    Hope this helps.

  • Guowei_Xu Profile Picture
    407 on at

    Hi Nithya,

    I don't want to filter the records , i just want to set the default value when i click the +New button to add a new record.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans