asp.net - Adding an internal ASPX page with relative URL to CRM 4.0 sitemap -


i've added subarea sitemap in crm 4.0, , absolute urls works expected. however, relative urls not. page in question internal , accessed through:

http://localhost/isv/<orgname>/account.aspx/externaldocumentlist 

however, prefer writing in sitemap:

/isv/<orgname>/account.aspx/externaldocumentlist 

when expanded, crm/iis rewrites to:

http://localhost/<orgname>/isv/<orgname>/account.aspx/externaldocumentlist 

for reference, here sitemap addition (which doesn't work):

<subarea id="custom_documenthistory" url="/isv/<orgname>/account.aspx/externaldocumentlist">     <titles>         <title lcid="1033" title="document history"/>     </titles> </subarea> 

how can link page relatively?

the ../ notation valid signifying operation. there isn't problem using notation, though depends on usage.

the first instance of <orgname> in url default behaviour of crm allow multi-tenancy - need have second instance? have account.aspx page sat directly under isv folder, , use server side code determine organisation name?

basically path enter in url attribute used relative path http://localhost/<orgname>/

if want understand more asp.net paths , how work them, rick strahl has post here: http://www.west-wind.com/weblog/posts/132081.aspx


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -