
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
amplience-developer-portal-code-examples-test
Advanced tools
Code examples for the Amplience Developer Portal: https://github.com/amplience/amplience-developer-portal
Repository contains all code sandbox examples for different frameworks used in Amplience Developer Portal tabbed component. There is an Amplience code sandbox team space where each example in separate folder can be imported as a template and will remain in sync with the main branch.
The path that needs to be added to the content form will look like github/amplience/amplience-developer-portal-code-examples/tree/<branch>/<path-to-example> and will be available on https://codesandbox.io/s/github/amplience/amplience-developer-portal-code-examples/tree/<branch>/<path-to-example>
All the content types and content types schemas used to create the content managed pages live in the ./content directory; directions for getting started, configuration, installation and syncing using the DC command line tool can be found below.
Further information regarding the set-up and use of the DC-CLI tool can be found here.
To install the package run:
npm install -g @amplience/dc-cli
DC Management API credentials are needed along with the hub Id which can be found in the DC App settings menu under properties.
dc-cli configure --clientId <your-client-id> --clientSecret <your-client-secret> --hubId <your-hub-id>
To install or update content type schemas and their metadata, which sets them to be validated at a slot/content/partial type, run the following command:
dc-cli content-type-schema import ./content/content-type-schemas
To install the content types run
dc-cli content-type import ./content/content-types
Please note: There are two content type properties, repositories and visualisations that are likely be different per hub and environment.
By default the above command will assign the content type to a repository named content as specificed in the JSON. You can update the repository for all ./content/content-types by using find and replace or append the flag --skipAssign which will ignore setting the repository. This can then be set in the UI or via the DC CLI.
Once a content type schema has been updated, it has to be synced with its content type for the update to be reflected by running the following comand:
dc-cli content-type sync <id>
If the content type id is unknown it can be quickly found by getting the updated content type schema's $id property URI value and running the following command:
dc-cli content-type list | grep <uri>
To sync all after making many changes the example command below uses jq to collect the ids that contain https://developer-portal.com/ in the contentTypeUri and sync each one
dc-cli content-type list --json | jq -c '.[] | select(.contentTypeUri | contains("https://developer-portal.com/"))' | jq '.id' | while read line; do dc-cli content-type sync $line; done
FAQs
Code examples for the Amplience Developer Portal: https://github.com/amplience/amplience-developer-portal
We found that amplience-developer-portal-code-examples-test demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.