web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Create custom Pop ups in crm

(1) ShareShare
ReportReport
Posted on by

Hi,

Is it possible to create custom light-box pop ups that allow the user to enter in data like a mini form?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Hi,

    You probably could in javascript but it'll be a ton of work. Have you looked at using Dialogs? They're easily customizable mini-forms that are probably exactly what you're looking for. They let you ask questions to collect data and write it back to the record.

    Here's an overview of what Dialogs are:

    technet.microsoft.com/.../dn531180.aspx

    And a more in depth guide for writing them:

    msdn.microsoft.com/.../gg509010.aspx

    If this helps, I'd appreciate if you would mark this as the verified answer. I'm also happy to answer (or at least look at) any followup questions you have.

    Thanks,

     Aiden

  • Community Member Profile Picture
    on at

    Hi Aiden ,

    Many thanks for the tip, is there anyway I can remove the tip and comment section from the dialog?

    Thanks

  • Aiden Kaskela Profile Picture
    19,696 on at

    Hi,

    I haven't used Dialogs a whole lot myself. I know tips are optional and you can set them differently on each question. If all the Tips are blank, I'm not sure if the section itself is hidden.

    The comments section looks like it's always there. Dialogs were originally built for call centers or people answering phones, so they have a script of questions but can put in other comments on any step.

    Thanks,

     Aiden

  • Community Member Profile Picture
    on at

    Thanks Aiden for the tips, looks like Dialogs is the quickest way to go, but if was to go down the JavaScript root. where, would be the best place to start?

    Thanks

  • Aiden Kaskela Profile Picture
    19,696 on at

    I think you'd want to have .htm files in your CRM solution as web resources to be the actual page, and javascript to get and set the data you're collecting.

    If you want to launch your process from a button on a form, here's a pretty good write-up I did on how to call javascript from a ribbon button: blog.cobalt.net/.../ribbon-workbench-solution (I always use Ribbon Workbench, it's so much easier than manually working with the ribbon xml).

    Once you're able to invoke the js code, you can use a jQuery library to bring up the lightbox, loading one of your web resource pages. If you're doing multiple pages, you would probably have a Continue button at the bottom of the page which validates and saves the data to CRM, then redirects to the next .htm page.

    Hope this helps! Let me know if you have any of questions.

    Thanks,

     Aiden

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans