Skip to main content
Pro Imaging LFP
Participant
August 12, 2025
Question

[Embed SDK] Streamline Publish Button (avoid dropdown, prescribe settings)

  • August 12, 2025
  • 0 replies
  • 84 views

My goal

  • prescribe the settings available in the button dropdown (see image below) in my code
  • when the user clicks the Print button - no popup shows, no options available - perform the callback function and return to the web app

 

I am not finding the settings for the file format options which are different depending on the file format.  Additionally, if I set image/png, the file format dropdown still starts at JPG.

 

I do not want to give the user these options; I want this to be controlled in the code.

 

 

Current exportConfig:

const exportConfig = [
  {
    id: "save-modified-asset",
    label: "Print ",
    action: {
      target: "publish",
      publishFileType: "image/png",
      outputType: "base64",
    },
    style: { uiType: "button" },
  },
];