Issue with Passing Leads.Lead Id in Extension Button and Opening URL in Iframe

Issue with Passing Leads.Lead Id in Extension Button and Opening URL in Iframe

Hi everyone,

I’m currently developing an extension and have run into an issue while trying to pass the Leads.Lead Id in a URL and open it within an iframe.

Here’s what I’ve done so far:

  1. I added a button in the "View Page" and selected the action to "Invoke a widget."
  2. In the widget settings, I set the URL like this:
    bash
    https://my_url/smth?origin=zoho&lead=${Leads.Lead Id}
  3. However, when using this setup, I’m unable to retrieve the Leads.Lead Id.

Then, I changed the action to "Invoke a URL" instead of "Invoke a widget" and set the same URL:

bash
https://my_url/smth?origin=zoho&lead=${Leads.Lead Id}

With this configuration, I can retrieve the Leads.Lead Id, but the URL opens in a new tab instead of within an iframe, which is not the behavior I want.

My questions are:

  1. How can I properly pass the Leads.Lead Id when using the "Invoke a widget" action?
  2. How can I ensure that the URL opens inside the iframe rather than in a new tab?

Has anyone faced this issue before or can point me toward any documentation or libraries that might help me achieve the desired functionality?

I’d really appreciate any help or insights you could offer!

Thanks in advance.

    • Sticky Posts

    • Introducing Kanban Board Extension for Zoho CRM

      Zoho CRM has been helping you with your business in many ways. The foundation of it all is that it is keeping all your data well organized and maintained. It makes work easier for you but what if that was not all.  Yes! That is not all; we now provide the Kanban Board extension that provides a visual management for your CRM data. It is a great way to view all the records segregated the way you want to see them. Be it based on deal status, lead pipeline stage, or campaign type or any other pick list
    • Here's what you can do with your DocuSign Extension

      Contracts, agreements, and other documents have always been an integral, concluding part of any sales process. With the free DocuSign Extension for Zoho CRM, we've made certain that your signing process is entirely digital, and there is no need for copies,
    • Contact Info Extractor Chrome plugin

      Just trying out the Contact Info Extractor plugin and had a quick observation.  Since a target website for this plugin would be LinkedIn, I'm very surprised that the plugin cannot determine that if the selected text in question includes... Joe Smith Vice President at ABC Corporation ... the plugin can recognize the name and title but not the company.  I'd assume that the term "at" would give it the needed clue but on several contacts I tried to add, it's just not catching it. Would love to see the
    • Easily send documents from Egnyte to your leads in Zoho CRM

      Understanding your customers and educating them about your product are two sides of the same sales coin. During a sales process, to educate your potentials about your product, you may have to send them user guides, help documents, comparison sheets, and
    • Empower Your Sales Team with Email Marketing Insights Using the Mailchimp Extension

      Email marketing is one of the most powerful tools available for engaging leads. It’s low cost and high ROI makes it a top choice for marketers who want to establish contact with leads. But these leads can only be turned into actionable deals when pursued