Content
- 04 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Content
- Updated on 04 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Manage the content in the Content Store, that can be used as icons or as uploaded content associated with actions.
Get-LiquitContent
Synopsis
This command downloads a file or folder from the Content Store.
Syntax
Get-LiquitContent
[-ID] <guid[]>
[-LiquitContext <LiquitContext>]
[<CommonParameters>]
Get-LiquitContent
[-EntityRef] <EntityRef[]>
[-LiquitContext <LiquitContext>]
[<CommonParameters>]
Example
Get-LiquitContent -id 00000000-0000-0000-0000-000000000000
Parameters
Name | Value | Description | Required | Default value |
---|---|---|---|---|
ID | <guid[]> | The ID of the content that needs to be downloaded. | Yes | |
EntityRef | <EntityRef[]> | Represents the item it is assigned to. e.g. if the content is for a package, then this is the reference of the package. | No | |
LiquitContext | <LiquitContext> | Determines the selected zone. | No | Default |
New-LiquitContent
Synopsis
This command uploads a file or folder to the Content Store.
Syntax
New-LiquitContent
[-Path] <string>
[-FileName <string>]
[-Resize]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Examples
Example 1: Upload folder
New-LiquitContent -Path "C:\test\"
This command uploads all files and folders located in C:\test\
to the Content Store.
Example 2: Upload file
New-LiquitContent -Path "C:\test\test.txt"
This command uploads the test.txt
file located in C:\test\
to the Content Store.
Example 3: Upload icon
New-LiquitContent -Path "C:\test\icon.png" -Resize $true
This command uploads icon.png
located in C:\test\
to the Content Store.
Parameters
Name | Value | Description | Required | Default value |
---|---|---|---|---|
Path | <Certifcate[]> | The path of the file or folder you want to upload. | Yes | |
FileName | <string> | The filename that will be used to store the file on the server. | No | |
LiquitContext | <LiquitContext> | Determines the selected zone. | No | Default |
Export-LiquitContent
Synopsis
This command exports the selected content.
Syntax
Export-LiquitContent
[-Content] <Content>
[-Path] <string>
[-Extract]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Examples
Example 1: Export-LiquitContent
$content = Get-LiquitContent -ID 00000000-0000-0000-0000-000000000000
Export-LiquitContent -content $content -path C:\temp\ExportContent.pxf
Example 2: Export-LiquitContent
Export-LiquitContent -Content (Get-LiquitPackage -id 00000000-0000-0000-0000-000000000000).icon -path package.ico
Parameters
Name | Value | Description | Required | Default value |
---|---|---|---|---|
Content | <Content> | The content you want to export. | Yes | |
Path | <string> | The path where the content needs to be stored locally. | Yes | |
LiquitContext | <LiquitContext> | Determines the selected zone. | No | Default |
Was this article helpful?