Brightsign Network Web API Reference Manual v.3.8 Uživatelský manuál Strana 27

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 138
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 26
Required Permissions
Content: View Content
Parameters
[int] contentId: The identifier and primary key of the associated Content instance.
ContentFolder CreateContentFolder(ContentFolder entity)
Description
Creates a new virtual folder within the BSN Library. The folder will have a specified name and location defined by its
virtual path. This method returns the newly created object with all initialized properties (or Null if an error occurs during
the creation process).
Required Permissions
Content: View Content
Parameters
[ContentFolder] entity: A ContentFolder instance with an initialized [string] Name, [string]
VirtualPath, and [string] ThumbPath (if needed). All other property values for the ContentFolder instance
will be ignored. If this parameter is set to Null, then the method will immediately return Null without error. A
descriptive error will be returned to the client if any of the following conditions occur:
o The [string] VirtualPath of the initialized ContentFolder does not contain a leading slash(“\”).
o The [string] ThumbPath does not begin with an absolute URI (i.e. “http://” or “https://”).
o The [string] Name of the initialized ContentFolder is more than 128 characters.
o A ContentFolder instance within the same parent folder has the same name.
bool MoveContent(int[] contentIds, string newVirtualPath)
Description
Moves the specified Content and/or ContentFolder instances to the specified virtual folder. This method returns True
upon success and False upon failure.
Zobrazit stránku 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 137 138

Komentáře k této Příručce

Žádné komentáře