|
What Is Launching An Element Through Querystring?
That means when a user visits a specific URL, a Live Content element will automatically pop out. He will not have to click the item manually.
Why Is This Technique Useful?
Sometimes we want to refer to an exact element in a bigger set. Because Live Content's element does not have an URL, visitors'll have to search for the correct element in that page. This is sometimes cumbersome, especially when there are too many elements on a page.
For example. I'm setting up a video repository using Live Content. Each page contains 10 clips. Then instead of telling users to go to that page and find the video, I just have to give them the URL with querystring.
How Do I Do That?
You can use this URL structure to launch an element on page load: (remember to configure ElementId & modId)
http://www.domain.com/Default.aspx?AutoLaunchElementId=...&modId=...
How To Identify Corresponding IDs?
Just go to the edit page of an element, you'll find what you need. For example:
So the ModuleID is 943 and ElementID is 4. The URL will look like this:
http://www.domain.com/VideoRepository/tabid/69/Default.aspx?AutoLaunchElementId=4&modid=943
Hope you find this handy! |