The EditRepositoryPackage method allows you to edit the details of a package in the ENVI Repository.

Syntax


Result = ENVI.EditRepositoryPackage(Name, Version [, Keywords=variable)

Return Value


1: Editing was successful.

0: An error occurred during package editing.

Arguments


Name

Specify the name of the package.

Version

Specify the version of the package.

Keywords


AUTHOR

Specify the name of the package's author.

DESCRIPTION

Specify a description of the package.

ERROR

Set this keyword to a named variable that will contain any error message issued during execution of this routine. If no error occurs, the ERROR variable will be set to a null string (''). If an error occurs and the routine is a function, then the function result will be undefined.

When this keyword is not set and an error occurs, ENVI returns to the caller and execution halts. In this case, the error message is contained within !ERROR_STATE and can be caught using IDL's CATCH routine. See IDL Help for more information on !ERROR_STATE and CATCH.

See Manage Errors for more information on error handling in ENVI programming.

TAGS

Specify one or more comma-separated tags that can be used to filter searches for packages.

URL

Specify the URL of the ENVI Repository server to use for publishing.

Version History


ENVI 6.2

Introduced

See Also


ENVI::DeleteLocalRepository, ENVI::DownloadFromRepository, ENVI::GetLocalPackageInfo, ENVI::PingRepository, ENVI::PublishToRepository, ENVI::RegisterRepository, ENVI::UnregisterRepository