Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

A resource item can be added from GIT or manually using the SOAJS console UI.

Adding it from GIT you need to have the following soa.json in your repository

soa.json for type=resource
{
	"name": "resource",
	"type": "resource",
	"description": "This is the description of your custom",
	"tags": ["tag1", "tag2"],
	"attributes": {
		"att1": ["att1.1", "att1.2"],
		"att2": ["att2.1", "att2.2"]
	},
	"tab": {
		"main": "Main tab",
		"sub": "Sub tab"
	},
	"program": ["soajs"],
	"documentation": {
		"readme": "/doc/markupfile",
		"release": "/doc/markupfile"
	},
	"version": "1",
	"profile": {
		//free to add whatever you want 
	}
}

Adding it manually from the SOAJS console UI, you need the following:

soa.json for adding an item manually in addition to the content of readme and release note if available.

soa.json for type=resource
{
	"name": "resource",
	"type": "resource",
	"description": "This is the description of your custom",
	"tags": ["tag1", "tag2"],
	"attributes": {
		"att1": ["att1.1", "att1.2"],
		"att2": ["att2.1", "att2.2"]
	},
	"tab": {
		"main": "Main tab",
		"sub": "Sub tab"
	},
	"program": ["soajs"],

	"version": "1",
	"profile": {
		//free to add whatever you want 
	}
}



  • No labels