ApplyURL or common CxScript in Templates
In templates use the standard ApplyURL setting when you need the same URL structure across multiple templates. This is the CxScript to fetch the Apply URL in templates:
<cx:write value="$activity.toPublication.applyUrl" />
Only use custom CxScript code in templates when you need specific variations or additional flexibility for particular cases.
Configuration Steps
Finding the Apply URL
Navigate to 'Files' | 'Publications'
Open desired Publication
Setting Default Apply URL
Go to 'Maintenance' | 'Settings'
Locate 'Attributes and fields' block, find "applyUrl" field
Default setting is empty as it depends on customer's domain
⚠️ Note: It is crucial to set the application link correctly to make sure candidates will not experience dead links.
Implementation Methods
Custom Website (API Connection)
For websites using Carerix GraphQL or REST API:
Format flexibly based on requirements
Coordinate URL structure with web developer
Ensure correct page routing on website
The applyUrl
example:
https://www.example.com/joborder/<cx:write value="$publication.publicationID"/>/<cx:write value="$publication.titleInformation.urlEncodedString"/>.html
WordPress Plugin example
https://www.example.com/?pub_id=<cx:write value="$publication.publicationID"/>
Results in https://www.example.com/?pub_id=123
SRSx Website
https://www.example.com/vacature-<cx:write value="$publication.publicationID"/>
Results in https://www.example.com/vacature-123
Advanced Configuration Example
For job boards requiring different URL formats, like Indeed:
<cx:if condition="publication.toMedium.code='indeed'">https://<cx:write value="$utilities.userDefaults.Customer" invoke="lowercaseString"/>.carerix.com/cxtools/jobdetails/<cx:write value="$publication.publicationID"/><cx:write value="$publication.publicationID"/> </cx:if> <cx:else>https://www.example.com/joborder-<cx:write value="$publication.publicationID"/></cx:else>
Read more about the Indeed Apply Integration
Important Considerations
Correct configuration is crucial to prevent dead links
Format depends on implementation method (API, SRSx, WordPress)
Coordinate with web developers for proper routing
Test links before publishing job postings