You can see from the line on that file how to access the member type, and then it's just a matter of editing the html to include the extra column in the table.
Note also that the line referenced above is using the Member Type Icon to denote which MemberType the user is based on (well, line 21 of that file). So if you have different icons for each member type you'll be able to see at a glance which one it is.
Is this still applicable for Umbraco 7.8? I would like to Decrypt the member data as we have been working on Encrypting the data going into the member area.
It hasn’t really changed - the data is returned from the Members examine index, so if you’ve included your field in there you should be able to retrieve it as described above.
If you need to decrypt it, you may have to do some extra work either client side or server side.
Great, thanks you so much - could I ask a huge favour? Do you know where I should look at Server side? I have had a look around and cant find any areas that I could extend?
It really depends on what you’re wanting to do - you could download the memberlistview source and look in the Controllers for some hints, or implement your own ApiController...
We have tried to extend the Examine indexer to decrypt the data but it isnt showing in the Listview - it is decrypted in the index search results though. Is the listview using different data?
Check the Umbraco Log for any indexing errors - you can use Chrome Dev Tools to inspect the properties that are coming through on the Web API to make sure your property is being retrieved and verify the field name...
How to show MemberType as Column in ListView
How does one show the MemberType in the Listview as a column(forex: Customers and Leads shows together which would be less than ideal in such case) ?
I did this sometime (year) ago, tried to retrieve the post/modification but I failed : ) Lack of nutrition or caffeine to blame...
Can you please tell me how to do go about showing MemberType as a column in the default ListView?
cheers!
Hi Keilo, It's actually quite easy:
https://github.com/robertjf/umbMemberListView/blob/master/MemberListView/App_Plugins/MemberManager/backoffice/dashboard/memberListView.html#L20
You can see from the line on that file how to access the member type, and then it's just a matter of editing the html to include the extra column in the table.
Note also that the line referenced above is using the Member Type Icon to denote which MemberType the user is based on (well, line 21 of that file). So if you have different icons for each member type you'll be able to see at a glance which one it is.
Hi,
Is this still applicable for Umbraco 7.8? I would like to Decrypt the member data as we have been working on Encrypting the data going into the member area.
Jon
Hey,
It hasn’t really changed - the data is returned from the Members examine index, so if you’ve included your field in there you should be able to retrieve it as described above.
If you need to decrypt it, you may have to do some extra work either client side or server side.
Rob
Hi,
Great, thanks you so much - could I ask a huge favour? Do you know where I should look at Server side? I have had a look around and cant find any areas that I could extend?
Jon
It really depends on what you’re wanting to do - you could download the memberlistview source and look in the Controllers for some hints, or implement your own ApiController...
We have tried to extend the Examine indexer to decrypt the data but it isnt showing in the Listview - it is decrypted in the index search results though. Is the listview using different data?
Check the Umbraco Log for any indexing errors - you can use Chrome Dev Tools to inspect the properties that are coming through on the Web API to make sure your property is being retrieved and verify the field name...
is working on a reply...