4D v15METHOD GET CODE and METHOD SET CODE |
||||||||||||||
|
4D v15
METHOD GET CODE and METHOD SET CODE
|
|||||||||||||
|
METHOD GET CODE ( path ; code {; *} ) |
||
Both the METHOD GET CODE and METHOD SET CODE commands now support new attribute metadata, allowing you to get or set 4D Mobile-related properties.
A new attribute named "published4DMobile" has been added and can be included in the %attributes line:
// %attributes = { "published4DMobile": { "table": "aTableName", "scope": "table" } }The supported attributes are:
{
"invisible" : false, // true if visible
"publishedWeb" : false, // true if available through 4D tags and URLs
"publishedSoap": false, // true if offered as Web Service
"publishedWsdl": false, // true if published in WSDL
"shared" : false, // true if shared by components and host database
"publishedSql" : false, // true if available through SQL
"executedOnServer" : false, // true if executed on server
"published4DMobile" : {
"scope": "table", // "none" or "table" or "currentRecord" or "currentSelection"
"table": "aTableName" // present if scope is different from "none"
}
}Note: Regarding "published4DMobile" attributes, if the "table" value does not exist or if the "scope" is invalid, these attributes are ignored.
Product: 4D
Theme: Language
4D v15 - Upgrade (R-release edition) ( 4D v15)
Parent of : METHOD GET CODE and METHOD SET CODE ( 4D v15)
Add a comment