Dataverse icon

Dataverse

Interact with Dataverse (Power Platform)

Web Resource → Upload

AI-generated

Summary

Uploads a web resource to Dataverse using its display name, publisher-prefixed unique name, type, content, and optional description. Text content is base64-encoded automatically; binary content must already be base64-encoded.

Inputs

  • Display Name (required) — Display name for the web resource.
  • Unique Name (required) — Schema name for the web resource, including the publisher prefix.
  • Web Resource Type (required) — Select a type such as JavaScript (the default), HTML, CSS, or an image format.
  • Content (required) — Raw code for text types such as JavaScript, CSS, or HTML; provide base64-encoded content for binary types such as images.
  • Description — Optional description for the web resource.
  • Options — Optional custom authentication settings: enable custom auth and provide the environment URL and access token instead of using OAuth2 credentials.

Output shape

a single record

The source pack lists the upload implementation but omits its function body, so the returned record's fields are not specified.

Links

Discussion