LearningSuite icon

LearningSuite

Interact with LearningSuite API (powered by agentur-systeme.de)

Actions100

Custom Field → Upload File From URL

AI-generated

Summary

Downloads a file from a public URL into a LearningSuite file, then stores the resulting file value in the selected user’s custom field. Choose the media field and URL; use the file value mode to control how existing files are handled.

Inputs

  • Public Download URL (required) — Public URL of the file LearningSuite should download and upload.
  • User Name or ID (required) — User whose custom field data is accessed.
  • Field Key Name or ID (required) — File, image, video, or audio custom field to update.
  • Profile selector — Profile ID, index, or name can select the profile for the field; ID takes precedence over index, which takes precedence over name.
  • File Name — Optional title for videos; also used as the file name in the returned custom-field file value.
  • File Value Mode — Add appends uploaded files and fails if this exceeds the field limit; Replace overwrites existing values; Replace if Limit Reached appends unless the limit would be exceeded, then replaces.

Output shape

A single output item containing the updated custom-field file value.

The operation downloads the file from the provided URL and uploads it to LearningSuite before writing the field value. The field’s configured file limit and the selected mode determine whether existing values are retained or replaced.

Links

Discussion