Custome panale and button not working after update it to purchase version"^11.10.0"

WebViewer Version:

Do you have an issue with a specific file(s)?

yes in custom panel
Can you reproduce using one of our samples or online demos?
no

Are you using the WebViewer server? yes
Does the issue only happen on certain browsers?no all of them
Is your issue related to a front-end framework? nope
Is your issue related to annotations? nope

Please give a brief summary of your issue:
// Create a render function for the custom panel

    const renderCustomPanel = () => {

      return (

        <div>

          <div>

            <label htmlFor="participantDropdown">{t("Participant")}</label>

          </div>

          <div className="w-100 d-flex justify-content-center">

            <select

              style={{

                width: "100%",

                padding: "12px 5px",

                margin: "8px 0",

              }}

              onChange={handleChangeUser}

            >

              {participantsRef.current.map((userData, index) => {

                return (

                  <option value={userData.pk_UID}>{userData.name}</option>

                );

              })}

            </select>

          </div>

          <div className="w-100">

            <button

              style={{

                width: "100%",

                padding: "12px 30px",

                margin: "8px 0",

                background: "#6172d6",

                border: "none",

                color: "#fff",

                cursor: "pointer",

              }}

              onClick={openCustomModal}

            >

              {t("Add-Signaturies")}

            </button>

          </div>

          <div

            style={{

              display: "flex",

              justifyContent: "center",

              gap: "10px",

              alignItems: "center",

            }}

          >

            <button

              style={{

                width: "100%",

                padding: "5px 12px",



                background: "#ffffff",

                border: "1px solid #e1e1e1",

              }}

              onClick={handleClickTItle}

            >

              {t("Title")}

            </button>

            <button

              style={{

                width: "100%",

                padding: "5px 12px",

                background: "#ffffff",

                border: "1px solid #e1e1e1",

              }}

              onClick={handleClickName}

            >

              {t("Name")}

            </button>

            <button

              style={{

                width: "100%",

                padding: "5px 12px",



                background: "#ffffff",

                border: "1px solid #e1e1e1",

              }}

              onClick={handleClickEmail}

            >

              {t("Email")}

            </button>

          </div>

        </div>

      );

    };



    let myCustomPanel = {

      tab: {

        dataElement: "customPanelTab",

        title: "customPanelTab",

        img: "/favicon-32x32.png",

      },

      panel: {

        dataElement: "customPanel",

        render: renderCustomPanel,

      },

    };



    instance.UI.setCustomPanel(myCustomPanel);

this custome panle is working on my unpaid version now when i change it to payed version ist stop working

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

Please provide a link to a minimal sample where the issue is reproducible:

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.


It seems like you are facing an issue with a custom panel not working after updating to a purchased version of WebViewer. This may be related to changes in the API or how the custom panel is being integrated.

Some things you can try:

  • Ensure that the latest version of WebViewer you are using supports the custom panel API. The transition to a paid version should not inherently affect functionality, but there may be differences in configurations.

  • Verify that the dataElement identifiers used for the panel and buttons are correctly registered and do not conflict with existing elements.

  • Check for any console errors in your browser’s developer tools that might point to issues in the JavaScript or rendering logic.

  • Consider updating the integration using the new Modular UI APIs, which may have changed from the legacy API in version 11.

  • Ensure that all necessary dependencies and styles are correctly imported and applied in your project.



Here are some resources that might help you:


Hopefully, this helps you solve your problem while you wait for a human to get back to you.

Hello @huzeifajahangir ,

Thank you for posting on our forum.

What version did you upgrade from? Based on the code snippet provided, it appears you are calling setCustomPanel(), which is no longer supported with our Modular UI. For context, the Modular UI configuration is now the default in Version 11+.

To migrate your UI customization to use our Modular UI, we highly recommend checking out our migration guide here, which also includes equivalent APIs to use: https://docs.apryse.com/web/guides/get-started/migrating-to-v11-modular-ui

For information on Panels with Modular UI in particular, see our guide here: https://docs.apryse.com/web/guides/modular-ui/panels

Let us know if you need further clarification!

Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer
Apryse Software Inc.