Category Windchill servers, Object ProServer

Function ProServerObjectIsModified


Description
Checks if the given object is modified in workspace/locally.
Replacement in Object TOOLKIT: pfcServer::IsServerObjectModified
Synopsis
#include <ProWTUtils.h>
ProErrorProServerObjectIsModified(
wchar_t* server
/* (In)
The server alias.
*/
wchar_t* workspace
/* (In)
The workspace name.
*/
wchar_t* object_name
/* (In)
The object name
*/
ProBoolean* checkout_status
/* (Out)
PRO_B_TRUE if the object is currently checked out to active workspace. PRO_B_FALSE for one of the following cases:
  • The object is not checked out.
  • The object is only uploaded to workspace, but was never checked in.
  • The object is only saved to local workspace cache, but was never uploaded.
*/
ProBoolean* modifiedLocally
/* (Out)
PRO_B_TRUE if the object got modified locally.
*/
ProBoolean* modifiedInWS
/* (Out)
PRO_B_TRUE if the object got modified in Workspace.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_E_NOT_FOUNDThe given object is not in the workspace.
PRO_TK_BAD_CONTEXTThe server was not registered or the workspace couldn't be found on the server.
See Also
ProServerObjectsUpload

Manual References:

  1. Data Management: Windchill Operations: Server Object Status