• Resolved nkelkar

    (@nkelkar)


    Our WordPress / Dataverse process is going well. We can get information using the FetchXML query, use the conditions, etc. The “create” new record is working as well.

    We are trying to set up a Form on WordPress that will drive search or narrow down the list of records returned. I want to use the POST method instead of GET (ideally). If using GET, we use URL Parameters plugin. We will use free form text, drop down, checkboxes, etc. for searching.

    Question 1: How do we get parameters from the POST or GET inside the FetchXML condition? Or is this in the premium plugin only?

    Question 2: How can we expand the width of the TWIG block to expand to page width of the template? Our information has a few columns and they don’t look great in a compressed width.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author georgedude

    (@georgedude)

    1. You can insert request parameters inside fetchxml using Twig, e.g. {{request.params.id}}
    2. Not sure I understand. Twig block produces text (usually HTML) as an output. Whatever is around and that HTML itself + CSS define the width. It’s no different from inserting an HTML block in your page content.
    Thread Starter nkelkar

    (@nkelkar)

    1. {{request.params.id}} works for both GET and POST
    2. The page template was having issues, it is working as expected now
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.