Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to use liquid to access user input data in page ui.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

My question in bellow pic:

Liquid-access-input-data.png

*This post is locked for comments

  • Suggested answer
    anhhd Profile Picture
    anhhd 5 on at
    RE: How to use liquid to access user input data in page ui.

    Hi Arpit,

    I have a custom form and I want to pass the data after importing the form to the next page.

    Where and by what do I have to store the data?

    and will use liquid to get the data out correct?

  • Suggested answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: How to use liquid to access user input data in page ui.

    Hi Evan,

    Yes, you can use/refer mutiple Template in Liquid Template using 'include' Tag.

    Check this : community.adxstudio.com/.../web-template

    If my answer helped to resolve your issue, kindly verify it by clicking 'Yes'. It would be helpful to the other community members seeking to resolve a similar issue.

    Cheers

    Arpit

    arpitmscrmhunt.blogspot.in

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to use liquid to access user input data in page ui.

    Hi Arpit,

    May be your suggestion is same as "Aric Levin" answer.

    Because my page not only a form, It could be include more other templates.

    So, Is this type of page cannot be achieved?

  • Verified answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: How to use liquid to access user input data in page ui.

    Hi Evan,

    I understood your requirement. I am giving the solution from portal percepective only.

    Since liquid cannot push the data in CRM directly, Therefore you could autopopulate data using liquid in portal entity form and trigger on Submit.

    docs.microsoft.com/.../entity-forms-custom-logic

    -Arpit

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to use liquid to access user input data in page ui.

    Hi Aric,

    Thanks for your help.

    As you said, Only one form in one page, Can i include another template(ad template or announcement template) to this page?

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: How to use liquid to access user input data in page ui.

    Hi Evan,

    Create a Form with the required fields on the entity where you want the user's posted data to be saved, and Publish.

    Create an Entity Form record and select the Entity Name, Form Name and Tab for this new form that you created.

    Create a Web Page, and set the Entity Form to the newly created entity form.

    The form that you created will be published to the web portal when you navigate to the web page that you created.

    Fill in the form and click submit.

    The data that you entered in the form on the web will be saved as a new record in the entity that you used.

    Hope this helps.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to use liquid to access user input data in page ui.

    Hi Arpit,

    Thanks for your help,

    Because, The Portal user has not account to login CRM, It only can  login portal to read some thing and post thing we specify.

    So, We need to save user posted content.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: How to use liquid to access user input data in page ui.

    Yes Evan, Liquid Template is not capable to insert the data into CRM, It can only be used to retrieve the data. As I asked in my last comment, Can't you autopopulate it on form and trigger Submit in order to save the information in CRM?

    -Arpit

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to use liquid to access user input data in page ui.

    Hi Arpit,

    Thanks for your help.

    Some time, We need portal user input some thing, But, When we post the portal user input data to another form, The form catch input data, but liquid not support to save method.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: How to use liquid to access user input data in page ui.

    Hi Evan,

    What I understood with this image is, you are communicating between two Liquid Templates (two pages), One takes user inputs and from other, you want to save the data in CRM. Is my understanding correct?

    Just wanted to confirm Currently In Portal, there is no way to Post/Create data in CRM directly using Liquid Template. Data can be saved in CRM using Entity Forms only.

    So what you can do is, On one page get the user input using liquid template, pass this data in form of parameters to another page, get the parameter values and auto-populate in your custom Entity Form (can hide it using javascript, if you do not want to show it to user) and trigger click on Submit.

    Hope it helps.

    If you are looking for something else let me know, so I can suggest you the best solution.


    If found useful, please mark the answer as verified.


    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.com

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,313 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans