Display Salesforce Visualforce rendered as PDF in Flow

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024
  • НаукаНаука

Комментарии •

  • @petewestcoastin
    @petewestcoastin 11 месяцев назад

    Your videos have been super helpful! How would I pass collections variables from the flow to the VF page?

    • @Infallible-Techie
      @Infallible-Techie  11 месяцев назад

      You can send JSON string and parse it.

    • @petewestcoastin
      @petewestcoastin 11 месяцев назад

      @@Infallible-Techie Any resources you can send me on how to send a JSON string?

    • @Infallible-Techie
      @Infallible-Techie  11 месяцев назад

      Sorry. I don't have any reference.

  • @MichelSamson-p4i
    @MichelSamson-p4i Год назад

    Hello, this video is a pure gem! Thanks for sharing. I wonder whether you would know a way to enhance it a little bit by passing the record ID of the record on which the flow is displayed? Many thanks in advance

    • @Infallible-Techie
      @Infallible-Techie  Год назад +1

      Thank you for the feedback, Michel. You can pass the record id in src="/apex/FlowPDFPage?recordId=". Let me know if this is helpful.

    • @MichelSamson-p4i
      @MichelSamson-p4i Год назад

      ​@@Infallible-Techie I missed the notification about your answer. I have struggled a whole week trying to pass the record ID only... I just tried your suggestion to pass the whole URL and it works instantly! This is really powerful. Thank you very much :)

    • @MichelSamson-p4i
      @MichelSamson-p4i Год назад

      @@Infallible-Techie I wonder whether you could show me the way to add a new screen flow after to confirm the registration of the pdf onto the record and to send an email including the pdf as attachment. Is it feasible according to you?

    • @Infallible-Techie
      @Infallible-Techie  Год назад

      Yes, you can do this on the object trigger. Not sure about flow implementation on this.