ddidonato
3 years agoCreator II
StartItem
Is there any way I can pass the user name and password to "http://[ServerName]/[WebAlias]/default.aspx?StartItem=[ItemType]:[ItemID]"
Try to use the basic HTTP authentication, which sends the credentials in the standard HTTP "Authorization" header. The format of the URL for this method is: mr mine
[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:d2e066dd-f957-41d9-9fcf-e4274f9ef3a6:type=text&text=http%3A%2F%2Fusername%3Apassword%40ServerName%2FWebAlias%2Fdefault.aspx%3FStartItem%3DItemType%3AItemID]
Another method is to use a custom authentication mechanism, which can use query parameters, HTTP headers, cookies, or tokens to verify the credentials. For example, you can generate a time-limited token for each user and add it to the URL, like this:
[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:9945d040-3a24-4c7a-a4db-c26eed11418d:type=text&text=http%3A%2F%2FServerName%2FWebAlias%2Fdefault.aspx%3Ftoken%3Dbigtokengoeshere%26StartItem%3DItemType%3AItemID]
Both have advantages and disadvantages, choose the method that best suits your problem.
Sorry, when I attached the link automatically it shortened and lost information so I inserted the code. Hope it's not wrong.
Hi Alan,
I'm not sure I'm doing this correctly. When I tried your first example I still get the Aras login box. I'm using Aras v11.11. This is how I formatted the URL:
My goal was to launch this from another application without the user needing to login to aras. The username and password are from a read only aras account that only displays contact information and nothing else.