That administration tool for membership configuration where you can set up both users and roles using a user interface instead of programmatical.
I often find reference to it on the internet yet it appears unavailable on current V.S.D edition?
time is precious!
Return to previous page with sitemap
I currently have the following nodes in my sitemap file
siteMapNode title="Account" url="~/MyProject\Seller\Sellor_Account.aspx" roles="Seller"
siteMapNode title="Inbox" url="~/MyProject\Messaging\Inbox_User.aspx "
I now want to add additional node that also links to Inbox_User.aspx file. But i am unable to because the return link when clicked returns to Seller_Account.aspx page instead of back to records2.aspx file?
siteMapNode title="Account" url="~/Market\records2.aspx" roles="Services"
7 answers
Sort by: Newest
-
peter liles 556 Reputation points
2022-05-16T23:22:02.993+00:00 -
peter liles 556 Reputation points
2022-05-08T13:52:30.28+00:00 What ever happen'd to the website configuration tool available in developer to manage access rules?
-
peter liles 556 Reputation points
2022-04-27T20:33:07.767+00:00 i have added the roles property to the sitemapnodes as referred to in previous comments, though they don't make a difference either?
To solve the issue i was using the url referrer but i had to store in memory when traverse other pages so now i use the roles instead. That finally did the trick!
The return url has you mention is the original source page.
I must add that i did come across a explanation long ago about limitations with dynamic pages! i guess this is the problem as two individual pages try to access the same page. -
peter liles 556 Reputation points
2022-04-22T14:01:06.893+00:00 my records2 page resides inside root based Market folder whereas Seller_Account page resides inside sub Myproject/Market folder and Inbox_User resides inside sub MyProject/Membership folder.
Does that clarify -
AgaveJoe 26,246 Reputation points
2022-04-19T13:34:55.783+00:00 Please review your code. The URLs use a forward slash "/" not "\".
The sitemap nodes you shared has an associated role. I have to assume you've setup role based security. It seems logical that if the resulting HTML link points to "Sellor_Account.aspx" then the user is in the seller roll.
Please read the sitemap reference documentation to make sure you understand sitemaps with role security.
ASP.NET Site-Map Security Trimming
Securing ASP.NET Site NavigationWhen i link to Inbox_User page from either of the other two pages that reside in different directories when i click the return URL node on the sitemap it always links to the Sellor_Account page even though i visited from records2.
What is a return URL node? Is this custom code that you wrote?