Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=admUpdateProjectVersion+-+744065110 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | admUpdateProjectVersion(versionStruct) | Package | adm | Alias | | Pkg Usage | updateVersion(versionStruct) | |
Description
Excerpt |
---|
|
Updates the version of the project by the id field. |
Updates the version of the project by the id field. The version name of the project is unique and it has an id version that corresponds with it.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
versionStruct | JVersion | Yes | Version id and the version name should have values assigned. | |
Return Type
String / Boolean
You can safely ignore the return value of this function on server. On cloud it will return true if the version is updated and false otherwise.
Example
Code Block |
---|
|
JVersion jVersion;
jVersion.id = 10201;
jVersion.name = "Version2";
jVersion.description = "This is the second version.";
jVersion.startDate = "2014-10-27";
jVersion.releaseDate = "2014-10-30";
return admUpdateProjectVersion(jVersion); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "version_admin_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.