Found 40 results for "content-models scripts"

The search executed in 0.00105027 seconds. That's fast.

Gitana / 4.0 / Data Engine / Content Models / Scripts

Scripts Scripts are content nodes with a default attachment of type application/javascript. As with all behaviors, script nodes must implement the f:behavior feature. They must be bound to a node upon which to act (either a definition node or a content instance) using a a:has_behavior association. Script Interfaces If you elect to write scripts to implement custom behaviors, the following signatures can be used inside of your JavaScript: {{#article "policies/association"}}Association Policies{{/

Score: 22.584269

Gitana / 3.2 / Guide / Guide / Content Modeling / Scripts

Scripts Scripts are content nodes with a default attachment of type application/javascript. As with all behaviors, script nodes must implement the f:behavior feature. They must be bound to a node upon which to act (either a definition node or a content instance) using a a:has_behavior association. Script Interfaces If you elect to write scripts to implement custom behaviors, the following signatures can be used inside of your JavaScript: {{#article "policies/association"}}Association Policies{{/

Score: 14.223421

Gitana / 4.0 / Data Engine / Content Models / Behaviors

Behaviors Cloud CMS lets you wire in behaviors behind your content models so that rules automatically execute when your content is touched. Content editors work with simple forms to create content that conforms to your defined content models. When that content is created, updated or deleted, it automatically triggers policies (or events) which you use to bind in custom behaviors. In this way, the developers can wire up behaviors and the editorial team never needs to know about it. Furthermore, b

Score: 11.893054

Gitana / 3.2 / Guide / Guide / Templates

Templates Cloud CMS supports the usage of templates at various points to generate presentation and output for things like emails, PDFs, web page components and more. Cloud CMS supports two template engines - Handlebars and Freemarker. In general, we recommend using Handlebars since the syntax is a bit easier. This document covers Handlebars and describes helper functions available in Handlebars that make processing simpler. Model Variables The following describes the internal structure of model

Score: 9.309486

Gitana / 4.0 / Data Engine / Templates / Overview

Templates Cloud CMS supports the usage of templates at various points to generate presentation and output for things like emails, PDFs, web page components and more. Cloud CMS supports two template engines - Handlebars and Freemarker. In general, we recommend using Handlebars since the syntax is a bit easier. This document covers Handlebars and describes helper functions available in Handlebars that make processing simpler. Model Variables The following describes the internal structure of model

Score: 9.309486

Gitana / 4.0 / Developers / Cookbooks / Scripting Cookbook

Scripting Cookbook Getting Started To get started with Server-Side Scripting, please visit the Server Side Scripting page. Code Samples Here are some code samples of common data structures to help you get started. Increment a Property With this example, we want to keep track of a counter that tracks the number of updates made to a node. After a node is created, if the user clicks update ten times, we want to have a counter on the node that indicates it has been updated ten times. This script sho

Score: 6.804003

Gitana / 3.2 / Guide / Guide / Content Modeling / Behaviors

Behaviors Cloud CMS lets you wire in behaviors behind your content models so that rules automatically execute when your content is touched. Content editors work with simple forms to create content that conforms to your defined content models. When that content is created, updated or deleted, it automatically triggers policies (or events) which you use to bind in custom behaviors. In this way, the developers can wire up behaviors and the editorial team never needs to know about it. Furthermore, b

Score: 5.731291

Gitana / 3.2 / Guide / Guide / Actions

Actions Cloud CMS provides an Action framework that lets you kick off Actions that perform content operations on your behalf. Actions are units of work that are typically fired off as a result of an event handler or listener. For example, you might register an Action that triggers when a piece of content is updated or when a workflow task transitions. The Action might do something like Send an Email or Fire off a Web Hook. The Cloud CMS Action framework aspires to provide complete units of work

Score: 5.5575686

Gitana / 4.0 / Data Engine / Behaviors / Actions

Actions Cloud CMS provides an Action framework that lets you kick off Actions that perform content operations on your behalf. Actions are units of work that are typically fired off as a result of an event handler or listener. For example, you might register an Action that triggers when a piece of content is updated or when a workflow task transitions. The Action might do something like Send an Email or Fire off a Web Hook. The Cloud CMS Action framework aspires to provide complete units of work

Score: 5.5575686

Gitana / 3.2 / Guide / Guide / Actions / Execute Script

Execute Script ID: executeScript Executes a script attachment of a node. The configuration for this action is described using JSON Schema like this: { "script": "if (typeof(node.data.count) === 'undefined') { node.data.count = 0; }; node.data.count++;" } Property Required Default Description script yes String containing the script scriptMimetype no application/javascript String methodName no The method name of the script args no The arguments for the method in the script

Score: 4.295561

Gitana / 3.2 / Guide / Guide / Actions / Execute Script from a Node

Execute Script from a Node ID: executeScriptNode Executes a script attachment of a node. The configuration for this action is described using JSON Schema like this: { "scriptNodeId": "d904227f8628b15d4763" } Property Required Description scriptNodeId yes The node id of the script document scriptAttachmentId no The id of the attachment where the script locates methodName no The method name of the script args no The arguments for the method in the script

Score: 4.295561

Gitana / 4.0 / Data Engine / Behaviors / Actions / Execute Script

Execute Script ID: executeScript Executes a script attachment of a node. The configuration for this action is described using JSON Schema like this: { "script": "if (typeof(node.data.count) === 'undefined') { node.data.count = 0; }; node.data.count++;" } Property Required Default Description script yes String containing the script scriptMimetype no application/javascript String methodName no The method name of the script args no The arguments for the method in the script

Score: 4.295561

Gitana / 4.0 / Data Engine / Behaviors / Actions / Execute Script from a Node

Execute Script from a Node ID: executeScriptNode Executes a script attachment of a node. The configuration for this action is described using JSON Schema like this: { "scriptNodeId": "d904227f8628b15d4763" } Property Required Description scriptNodeId yes The node id of the script document scriptAttachmentId no The id of the attachment where the script locates methodName no The method name of the script args no The arguments for the method in the script

Score: 4.295561

Gitana / 3.2 / Guide / Guide / Scripting

Scripting Cloud CMS provides a server-side Scripting API that allows you to write custom actions, rules and behaviors that execute on the server. These scripts can be introduced at any time and do not require any server downtime. Developers can write scripts and hook them into Cloud CMS at any time to adjust how the product behaves and operates. The Scripting API consists of a set of server-side Scripting Objects that wrap your content and expose a select set of API service methods for your use.

Score: 3.3140504

Gitana / 4.0 / Data Engine / Scripting / Overview

Scripting Cloud CMS provides a server-side Scripting API that allows you to write custom actions, rules and behaviors that execute on the server. These scripts can be introduced at any time and do not require any server downtime. Developers can write scripts and hook them into Cloud CMS at any time to adjust how the product behaves and operates. The Scripting API consists of a set of server-side Scripting Objects that wrap your content and expose a select set of API service methods for your use.

Score: 3.3140504

Running Custom Scripts through Rules Test

You may want a complex action to occur in your project that is specific to your business requirements. We provide a number of out of the box actions that you can easily setup in a Content Rule, but sometimes the requirement goes beyond these functionalities. So, Cloud CMS allows you to write Javascript scripts that will run whenever a rule is triggered. In this example, we will be working with the following definition, call it custom:counter: { "title": "counter", "type": "object", "propertie

Score: 2.7925248

Gitana / 3.2 / Guide / Guide / Workflow / Workflow Handlers / Script

Script Type: script This handler lets you run a script based on the items in a workflow. The config for this handler is as follows: { "script": "my script" "mimetype": "optional script mimetype (javascript by default)" } When writing your script, you will have access to variables containing document and workflow data: workflow Current workflow workflowTask - Current workflowTask workflowData - Workflow metadata documents - Array of documents being processed by the workflow Example: Simp

Score: 2.5681033

Gitana / 4.0 / Data Engine / Workflow / Workflow Handlers / Script

Script Type: script This handler lets you run a script based on the items in a workflow. The config for this handler is as follows: { "script": "my script" "mimetype": "optional script mimetype (javascript by default)" } When writing your script, you will have access to variables containing document and workflow data: workflow Current workflow workflowTask - Current workflowTask workflowData - Workflow metadata documents - Array of documents being processed by the workflow Example: Simp

Score: 2.5681033

Gitana / 3.2 / Guide / Guide / Policies

Policies Policies can be used to run custom code or fire off actions when an event, such as creating a content item or associating a content item into the content graph, occurs. Cloud CMS provides a wide array of policies that you can hook your custom logic into. By default, Cloud CMS provides sensible and useful content policy handlers to manage the lifecycle of you content. You can wire in new policy handlers. Policy handlers include scripts and rules. These policies will trigger behaviors whe

Score: 2.4899275

Gitana / 4.0 / Data Engine / Behaviors / Policies

Policies Policies can be used to run custom code or fire off actions when an event, such as creating a content item or associating a content item into the content graph, occurs. Cloud CMS provides a wide array of policies that you can hook your custom logic into. By default, Cloud CMS provides sensible and useful content policy handlers to manage the lifecycle of you content. You can wire in new policy handlers. Policy handlers include scripts and rules. These policies will trigger behaviors whe

Score: 2.4899275

Cloud CMS Docker images

Cloud CMS is available as a set of Docker images so that you can run it on your own. This includes running it on-premise within your own data center as well as running it on Amazon AWS, Rackspace, IBM Bluemix or a variety of other Docker Container hosting platforms. Cloud CMS distributes its Docker images via Docker Hub. These are private images that are not generally available. Rather, Cloud CMS subscribers are granted permission to pull down the images once they've signed up for a Cloud CMS Do

Score: 2.4899275

Enterprise Data Engine - Gitana

Enterprise Data Engine - Gitana Status Releases Registry Blog Cloud CMS Platform Content Management Create, Approve and Publish quality content to production on-time. Easy editorial and workflow tools let your best work reach your customers. Enterprise Data Engine Manage, collaborate, search and distribute your highly-structured data across branches, versions and workflow-driven lifecycle. Automate Automate your content creation and approval flows while taking advantage of AI services to enhance

Score: 2.2843611

Gitana / 3.2 / Guide / Guide / Cookbooks / Scripting Cookbook

Scripting Cookbook Getting Started To get started with Server-Side Scripting, please visit the Server Side Scripting page. Code Samples Here are some code samples of common data structures to help you get started. Increment a Property With this example, we want to keep track of a counter that tracks the number of updates made to a node. After a node is created, if the user clicks update ten times, we want to have a counter on the node that indicates it has been updated ten times. This script sho

Score: 2.2470531

Train your AI Models - Gitana

Train your AI Models - Gitana Status Releases Registry Blog Cloud CMS Platform Content Management Create, Approve and Publish quality content to production on-time. Easy editorial and workflow tools let your best work reach your customers. Enterprise Data Engine Manage, collaborate, search and distribute your highly-structured data across branches, versions and workflow-driven lifecycle. Automate Automate your content creation and approval flows while taking advantage of AI services to enhance a

Score: 2.0026078

Gitana / 3.2 / Guide / Guide / Content Modeling

Content Modeling A content model consists of definitions which describe your project's content types, properties, graph associations, and the aspect-oriented features that Cloud CMS uses to ensure data consistency, integrity and validity when content is created, updated or deleted. In Cloud CMS, all content modeling is done using JSON and more specifically, JSON Schema. JSON Schema provides an elegant and well-adopted model for describing the types for content objects, properties and other neste

Score: 1.5877261