Job Post Component: Difference between revisions

Jump to navigation Jump to search
152 bytes removed ,  02:09, 2 September 2023
no edit summary
(Created page with "== Intro == This component renders an ATS job and allows a user to apply == 3B Portals Compatibility == This component is fully compatible with 3B Portals == Implementation == === Portals === Drag and drop the component on any page. You can customize the component properties from the Traits Manager. === Visualforce Pages === You can embed the component component in a Visualforce Page using the following syntax:<syntaxhighlight lang="html"> <!-- Load Supporting Compon...")
 
No edit summary
Line 13: Line 13:
You can embed the component component in a Visualforce Page using the following syntax:<syntaxhighlight lang="html">
You can embed the component component in a Visualforce Page using the following syntax:<syntaxhighlight lang="html">
<!-- Load Supporting Components and Global Functions -->
<!-- Load Supporting Components and Global Functions -->
        <script src="{!URLFOR($Resource.b3o__GeneralUtils, 'index.js')}" defer="true" type="module"></script>
<script src="{!URLFOR($Resource.b3o__GeneralUtils, 'index.js')}" defer="true" type="module"></script>
       
 
        <!-- This Component -->
<!-- This Component -->
        <script src="{!URLFOR($Resource.b3o__JobPostResources, 'index.js')}" defer="true" type="module"></script>
<script src="{!URLFOR($Resource.b3o__JobPostResources, 'index.js')}" defer="true" type="module"></script>
       
 
        <job-post  
<job-post  
            job-id="{!$CurrentPage.parameters.id}"  
    job-id="{!$CurrentPage.parameters.id}"  
            job-board-name="Default"
    job-board-name="Default"
        ></job-post>
></job-post>
       
 
        <script>
<script>
            const globals = {
    const globals = {
                sessionId: '{!GETSESSIONID()}',
        sessionId: '{!GETSESSIONID()}',
                siteUrl: '{!$Site.baseUrl}',
        siteUrl: '{!$Site.baseUrl}',
                useREST: false,
        useREST: false,
                router: b3o.GlobalRemotingRouter
        router: b3o.GlobalRemotingRouter
            };
    };
            window['globals'] = globals;
    window['globals'] = globals;
        </script>
</script>
</syntaxhighlight>
</syntaxhighlight>


Navigation menu