User Info Mode

Sep 25, 2012 at 10:57 PM

The docs state:

-       ExternalPage (links lead to external page with parameter

?accountname=<user_account>, for example, /my/Person.aspx)

------------------

is it possible to change how the account variable is called?  the user sites in my farm are in the following format:

https://mysite.intranet.com/Person.aspx?accountname=domain%5CsamAccountName

I also noticed that when I export to excel and import into a sharepoint list only some of the column headers are sortable.  Is there a way to make them all sortable?

 

Thanks again for this project, its very handy!

Sep 27, 2012 at 8:23 AM

1. In this version you cannot change the name of accountname variable.
This is a standard variable name on user profile page in SharePoint.
If you set value of ExternalPage as: https://mysite.intranet.com/Person.aspx
This does not work?

Also you can create simple custom aspx-page in SharePoint layouts folder and make  Response.Redirect to the page with parameter which you need. And then set value of ExternalPage to this custom aspx-page.

2. The next version will add the sorting feature in the user list.

Sep 27, 2012 at 5:24 PM

1. In this version you cannot change the name of accountname variable.
This is a standard variable name on user profile page in SharePoint.
If you set value of ExternalPage as: https://mysite.intranet.com/Person.aspx
This does not work?

No, it does not.  In my case the url needs to read:
https://mysite.intranet.com/Person.aspx?accountname=domain\samAccountName
to successfully render personal site.

2. The next version will add the sorting feature in the user list.
That would be nice.  I was actually referring to the excel document that is exported.  I am not sure why some columns import into a sharepoint list as multiple columns and some single line of text columns.  If they could be single line of text columns sorting would be available upon import.

Sep 27, 2012 at 9:25 PM
Edited Sep 27, 2012 at 9:27 PM

What is the value of accountname variable in your case?
Strange, but account name in FQDN format (login@example.com) must be resolved in SharePoint 2010 correctly.

Sep 27, 2012 at 10:14 PM

The variable in my case would be domain\samAccountName  You should note that it is not the FQDN of domain name.  that infact kicks back "user not found" error.

Here is the url:

https://mysite.intranet.com/Person.aspx?accountname=domain%5CsamAccountName

btw, thanks for getting back to me on this.