
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@backbase/portal-model
Advanced tools
Utilities and classes for representing and parsing portal models.
Create a new ItemModel instance
filePath
Type: string
Read the model.xml at filePath and initialise the instance's model.
Returns a Promise that will resolve to a JS Object that represents the model.
name
Type: string
Initialse the instance's model as a CXP Shared Feature with name.
Returns a Promise that will resolve to a JS Object that represents the model.
Returns true if the model hasn't been initialised.
Return XML string of the instance's model (which can be used in a package.zip).
name
Type: string
Returns the value of the property matching name. getProperty: function(name) {
name
Type: string
value
Type: string
Adds a string type property to the model with name and value.
Returns one of template/container/feature/widget.
FAQs
## Warning: This library is in alpha.
We found that @backbase/portal-model 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.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.