title: How to pre-fill fields in Dynamics 365 Portal entity form using liquid?
body: <p>I'm using Dynamics 365 CRM Online and have the customer self-service portal add-on installed.  I've built a list of records from a fetch query on one page (entity list didn't work here because of filtering limitations) and from that list I provide a button on each item that links to another page with some querystring parameters. The page that button goes to is a web page with an entity form to insert a task.  </p>
  
  <p>For example, the list page could be '<a href="http://mysite123.microsoftcrmportals.com/availableitems" rel="nofollow noreferrer">http://mysite123.microsoftcrmportals.com/availableitems</a>' and the second page is '/scheduleitem?id=abc123&amp;type=def'</p>
  
  <p>I want to take values from the query string and use those values to fill in some fields on the entity form.  I would like to fill in those fields in the background when the form is submitted or have them as hidden fields, but if they have to be visible then make them read-only so the customer doesn't alter them.   </p>
  
  <p>I've looked at the portal documentation and at entity metadata options for the entity form but that doesn't seem to have a way to tie fields to the query string params.  Is there a way to do this with liquid or javascript or ??  </p>