Skip to main content

set-filter

Set or replace the filter on a view.

Use --filter-file to apply a <filter> XML fragment from a file: <filter type="and"> <condition attribute="statecode" operator="eq" value="0" /> </filter>

Use --condition for a quick single-condition filter: --condition "statecode:eq:0"

Usage​

ppds views set-filter [options]

Options​

LongShortTypeDefaultDescription
--conditionstringInline single condition in format 'attribute:operator:value' (e.g. statecode:eq:0). Mutually exclusive with --filter-file.
--correlation-idstringCorrelation ID for distributed tracing
--debugboolShow trace-level diagnostic output
--entitystring[Required] Entity logical name (e.g., account)
--environment-estringOverride the environment URL.
--filter-filestringPath to a file containing a <filter> XML fragment. Mutually exclusive with --condition.
--output-format-fOutputFormatOutput format
--profile-pstringAuthentication profile name
--publishboolPublish the entity after the operation
--quiet-qboolShow only warnings and errors
--solutionstringAdd the view to this solution after the operation
--verbose-vboolShow detailed output including debug messages
--view-vstring[Required] View name or ID