{No Code Way} Change Poll options for a specific PowerApps Portal page

Sending
User Review
0 (0 votes)

Polls are a great feature in PowerApps portals. However, I have seen them utilized in less scenarios.

They are a great way to increase interaction on your portals.

In one of my recent PowerApps portal projects there was a requirement to change the poll for a specific portal page. Here is the current look and feel of the portal page, notice the poll question available on multiple pages of the portal:

clip_image002

clip_image004

Now let us make the changes to fit our requirement.

Step 1: In order to do this, first we need to Navigate to Polls and click on New:

clip_image006

Step 2: Fill in the relevant Poll question as below and click save:

clip_image008

Step 3: Navigate to options and fill in relevant options one after the other:

clip_image010

Step 4: First part is now completed. Now let us see how to place this Poll specifically where we want. For this we need to create a new Poll Placement as below. Navigate to Poll placement and create new one. Here fill the right Portal name and Web Template name (this should be the one your portal page uses):

clip_image012

Step 5: Keep the Poll placement name from last step copied : ”ContactUsPoll”. Next we need to edit the web template. Liquid template knowledge helps here. However, we will just be editing a Poll name. Locate the Web Template named Contact Us and edit the tag as below:

clip_image014

Now let us see the output.

Let us first navigate to our Contact us page to see that now we have a new poll placed here:

clip_image016

Now let us go and see other portal pages:

clip_image018

Thus the poll was added to the specific page we intended.

What is the learning: Try to utilize low code way wherever possible.

Hope it helps and Power 365ing as usual!

Any problem in Power Platform or Dynamics 365 – end user, Microsoft partner or an individual?

Problem Area – Technical, Functional, Training, Development or consulting?

I am here to help, get in touch here: Click here

clip_image020