cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Filter Power Portals Entity List Without Sign Up

Hey, I was trying to show list of application that I would like to filter the view. I have found several ways of doing the filter by contacts, however I'm not using log in in my website. I intend the list to show the application the applicant made, and the said applicant only submitted their data without signing in first. After submitting their data, they will be redirected to this page that show the list of application they made. Is there any way I can achieve that? Thanks in advance

byansakura_0-1599422541775.png

 

4 REPLIES 4
Highlighted
Solution Supplier
Solution Supplier

Re: Filter Power Portals Entity List Without Sign Up

Hi @byansakura,

 

The only possibility would be with cookies (which you will want to follow laws for, unless you are controlling who your audience is), which the OOTB portal configurations won't follow.

You can consider storing something filterable on the application (maybe a token) and then using the steps identified here to secretly filter the list on this value. It won't be the best user experience.

 

You may instead need to store a cookie that can identify exactly the application GUIDs/auto-number/something and then use Liquid and HTML to build out a custom view. Again, implement some form of cookie compliance process to avoid any issues with EU based users. Either way, you're going to look at some assumed risk and hefty customization.

Highlighted
Helper III
Helper III

Re: Filter Power Portals Entity List Without Sign Up

That is a good idea, I have the field email that is correlated to the input the user made. is there a way i can make a filter with a condition that the email is like the one the anonymous user just submitted? should i use cookie?

Highlighted
Solution Supplier
Solution Supplier

Re: Filter Power Portals Entity List Without Sign Up

Hi @byansakura,

 

Yes, you would need to use a cookie/local storage to save the value submitted on the form.

E.g. in application form:

$("#emailaddress1").change(function () {
  window.localStorage.setItem("lastEmail", this.value);
}

Then the following change from my other post:

<script>
document.ready(function () {
  var email = window.localStorage.getItem("lastEmail");
  if (email != null && email != "") {
    var $filterInput = $(".entitylist-filter-option-text input");
    if ($filterInput.val().length === 0) {
        $filterInput.val(email);
        $(".btn-entitylist-filter-submit").click();
    }
  }
});
</script>
Highlighted
Community Support
Community Support

Re: Filter Power Portals Entity List Without Sign Up

Hi @byansakura ,

Does the Anonymous Role have sufficient Read Permission to access your Entity the Entity List related to?

 

If the Anonymous Role does not have sufficient Read Permission to access your Entity the Entity List related to, I afraid that there is no way to achieve your needs in Power Apps Portal currently.

 

I assume that the Anonymous Role have sufficient Read Permission to access your Entity the Entity List related to, I agree with @justinburch 's thought almost.

 

You should store the entered email address from the Anonymous user into local storage using JavaScript code. Then you need to define a Text Filter in your Entity List through your Portal Management. More details about adding a Text Filter in Entity List inside Portal Management, please check the following article:

https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/entity-...

 

After that, you could set a initial value for this Text filter box with the cached email address value, then you could use the javascript code @justinburch mentioned to filter your Entity List records.

 

Regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (5,665)