Skip to main content

create

Create a new web resource from a local file

Usage​

ppds webresources create [options]

Arguments​

NameRequiredDescription
fileyesLocal file to upload as the web resource content

Options​

LongShortTypeDefaultDescription
--correlation-idstringCorrelation ID for distributed tracing
--debugboolShow trace-level diagnostic output
--display-namestringDisplay name (defaults to the logical name)
--environment-estringOverride the environment URL. Takes precedence over profile's bound environment.
--namestringLogical name for the new web resource (e.g., new_/icons/vet.svg)
--output-format-fOutputFormatOutput format
--profile-pstringAuthentication profile name
--publishboolPublish the web resource after creation (required before it is visible to apps)
--quiet-qboolShow only warnings and errors
--solution-sstringSolution unique name to add the web resource to
--typestringWeb resource type override; inferred from the file extension when omitted. One of: html, css, js, xml, png, jpg, gif, xap, xsl, ico, svg, resx
--verbose-vboolShow detailed output including debug messages