Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Create dynamic links based on user profile data

$
0
0

I have a SP 2010 site where the main site is one web application, then customer sites are separate web applications. I had to do this to maintain separate AD authentication, etc. for the customer sites. On the main site, I want to setup a link to their web application/site collection based upon their user domain information. Essentially, all of the customer domains are named customer1.localdomain, customer2.localdomain and so forth. Their SP sites are named SharePoint.Customer1.LocalDomain, SharePoint.Customer2.Localdomain and so on. All customers are allowed to log into the main site with their particular customer AD credentials.

What I am trying to do is dynamically build a link to their SP site from the main site using the logged on user's domain name. What I think I could potentially do, is create a calculated value "http://SharePoint" + LoggedInCustomerDomainName+ "LocalDomain" as the hyperlink's value. I am just not sure how to do this, then add it either to the quick launch, or even to the page they are presented with assuming there is some type of personal (per user) section/widget on the page if there is even such a thing.

Any help here would be great. I am not a programmer, so I cannot go do far in depth in coding this thing.


Mikol Westling "For those who say it cannot be done; Get out of the way of those that are doing it!"


Viewing all articles
Browse latest Browse all 17574

Trending Articles