

![Parralels](https://www.parallels.com/static/pl/fileadmin/res/img/navigation/pl-logo-dk.png)

# AppserverClient Command Line Interface

## savefavorites

saves a comma separated list of the published items added to Favorites.

**Category: RAS-Connections**


```
AppServerClientCLI savefavorites -id ras:5 -favorites 2,5,10 [-synch]
```
* **` id (mandatory) `** Specify the RAS connection ID to use.
* **` favorites (mandatory) `** Specify the published items to save in Favorites.
* **` synch (optional) `** Return once data is processed by the backend. See notes for further information.
## Return codes:
  ok
  NotAvailable
  InvalidId
  InvalidArgs
  ElevationAccess
  Exception
## Examples:
  AppServerClientCLI savefavorites 
## Notes:
  With the synch on, this method will return once the data is processed by the backend, but before it is sent to the RAS server.
  If the RAS server is not reached or failed, you will not be notified.
## See also:
[logonras](logonras.md)
[logoffras](logoffras.md)
[logoffallras](logoffallras.md)
[logoffrassession](logoffrassession.md)
[startrasobj](startrasobj.md)
[disconnectras](disconnectras.md)
[disconnectallras](disconnectallras.md)
[getloggedrasinfo](getloggedrasinfo.md)
[getraspolicyinfo](getraspolicyinfo.md)
