Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=admUpdateProjectVersion+-+744065110
widthauto

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admUpdateProjectVersion(versionStruct)

Package

adm

Alias

Pkg Usage

updateVersion(versionStruct)

...

You can safely ignore the return value of this routine function on server. On cloud it will return true if the version is updated and false otherwise.

...

Code Block
languagejs
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);

Note

This routine function updates only the name, description, startDate and releaseDate fields. The archived and released fields can be updated using admArchiveProjectVersion and admReleaseProjectVersion routines functions. Name must be unique.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "version_admin_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.