Skip to end of banner
Go to start of banner

admUpdateProjectVersion

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 3 Next »

Description

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

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

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);

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

See also

Filter by label

There are no items with the selected labels at this time.

  • No labels