Sections in this category

How to Embed the Login Web Element

Updated for current code:

Cobalt 3.7

This article is for any client that will be using the embedded portal instead of the standalone portal. In order to access the Web Element Designer that is needed to configure the embedded portal, staff must be logged in. Therefore, the steps below need to be completed first to embed the Login web element code block. As a result, staff will be able to login and access the Web Element Designer so they can get the code blocks for other web elements that the organization would like to embed on their main website.

1. In the Login Web Element code block below, replace [PORTAL URL] with the URL of your portal.

<div id="cw-1040526991" style="width: 100%; height: 100%;" class="cobalt-widget" data-loading="true" src="https://[PORTAL URL]/Login.aspx?ReturnUrl=%2fProfile%2fDefault.aspx%3fwidget%3dframe&widget=frame&color=&script=&ver=2.0"/><script>var js,p=/^http:/.test(document.location)?"http":"https";if(!document.getElementById("cobalt-wjs")){js=document.createElement("script");js.id="cobalt-wjs";js.src="https://[PORTAL URL]/App_Themes/Nevia/js/widget.js";document.getElementsByTagName("head")[0].appendChild(js);}</script>

2. Embed the Login Web Element code block that now references your portal URL on a page on your website.

3. Provide Cobalt Support with the URL of the page where the code block was embedded.

4. Cobalt Support will update the Embedded Portal Service Configuration with the URL of the page where the code block was embedded.

5. After Cobalt Support confirms the update has been made to the Service Configuration, navigate to the page on your website to confirm that the Login Web Element renders.

Once confirmed, you can now navigate to the embedded portal Web Element Designer. To find more information on the specific steps needed to access the Web Element Designer, refer to the article below.

How to Navigate to the Web Element Designer - Embedded Portal