Syntax
SRP_Mobile_Repository(CtrlEntID, 'AddEntities', Path, Entities)
Returns
@FM delimited list of entities which were successfully added to the mobile repository.
Parameters
Parameter | Description |
---|---|
Path | Directory path where the mobile repository is located. |
Entities | @FM delimited list of entities to add. |
Remarks
This is convenient method to add multiple entities at one time. It uses the AddEntity method to move the individual entities. It also uses the AttachMobileRepository and DetachMobileRepository methods to make sure that the mobile repository is available. Therefore, once this method is completed the mobile repository will be detached.
Examples
// Add the entities listed in the AddEntities variable to the mobile repository. AddedEntities = SRP_Mobile_Repository(Window, 'AddEntities', Path, AddEntities)