Targeting functions from other Squid Components

  • 1
  • Question
  • Updated 6 years ago
What's the best practice to target functions in a Squid component from another element?

For example, what if I want to create my own button using inline Javascript with an onClick action that will invoke the "Choose File.." action from the File Component ?


Photo of David Stith

David Stith

  • 220 Points 100 badge 2x thumb

Posted 6 years ago

  • 1
Photo of ktyler


  • 9,274 Points 5k badge 2x thumb
Looking at the elements on a page that has an image, it looks like this is the apex page Iframed in to allow image upload

that page has an apex:inputfile that invokes the skuid uploadimage controller
your custom button could probably do the same thing.