Loading...

Cannot open ezEdit (QuestRibbon)

Cannot open ezEdit (QuestRibbon)

Home Forums QuickApps Forum Cannot open ezEdit (QuestRibbon)

  • This topic has 6 replies, 3 voices, and was last updated 3 years, 1 month ago by Larus Thor Johannsson.
Viewing 6 reply threads
  • Author
    Posts
    • #10757
      Larus Thor Johannsson
      Larus Thor Johannsson
      Participant

      I have 2 pages in my Sharepoint site, one has  8 and the other has 15 QuickApps Web Parts.

      The page with 15 Web Parts doesn’t allow me to open ezEdit. I click and nothing happens.

      Stack trace:
      Uncaught ReferenceError: handleCommand is not defined
      at QuestRibbon.PageComponent.handleCommand (pagecomponent.js:76)
      at CUI.Page.CommandDispatcher.callCommandHandler (cui.js:1)
      at CUI.Page.CommandDispatcher.$BM_0 (cui.js:1)
      at CUI.Page.CommandDispatcher.executeCommand (cui.js:1)
      at SP.Ribbon.PageManager.executeRootCommand (cui.js:1)
      at SP.Ribbon.PageManager.executeRootCommand (sp.ribbon.js:2)
      at CUI.Ribbon.$BL_1 (cui.js:1)
      at CUI.Ribbon.$2j_0 (cui.js:1)
      at CUI.Ribbon.$2j_0 (cui.js:1)
      at CUI.Ribbon.$9c_0 (cui.js:1)

      Can’t really find anything about what Quest Ribbon exactly is.

      NB: I do not have server access.

    • #10758
      Deepak Tyagi
      Deepak Tyagi
      Moderator

      Hi Larus,

      This may be due to some js file is removed from your server. You can log a support ticket through the website to trubleshoot.
      Thanks
      Deepak

    • #10759
      Larus Thor Johannsson
      Larus Thor Johannsson
      Participant

      If the js file is removed from the server how come it is loaded in one page but not another page for the same site?

      Do you have a file name I can check if it exists?

    • #10760
      Rachit Vyas
      Rachit Vyas
      Participant

      If possible, please share the web parts list on both pages. There may be some script editor web part exists or any other web part or script blocking the behavior.

       

      Thanks,

      Rachit

    • #10780
      Larus Thor Johannsson
      Larus Thor Johannsson
      Participant

      I found it, it is a QuickApps bug. You are not escaping ‘ characters inserted into all parameters. So the generated js file included this:
      <div>
      <div>else if (commandId ===  Ribbon.Quest.Actions.WebPartWPQ2.CustomActionRibbonGroup.Go to CAPA\u0027s’)</div>
      <div>{</div>
      <div>    _spFormOnSubmitCalled=false;</div>
      <div>    __doPostBack(‘ctl00$ctl33$g_965cd9e0_5b9a_4729_8ca1_f1c3b5d32e24’, ‘CustomActionGo to CAPA\’s’);</div>
      <div>    SP.UI.Notify.addNotification(‘Process action: Go to CAPA’s’);;</div>
      <div>}</div>
      </div>
      <div>You are welcome to reach out to me for further information.</div>

    • #10781
      Larus Thor Johannsson
      Larus Thor Johannsson
      Participant

      <div>
      <div>else if (commandId === ‘Ribbon.Quest.Actions.WebPartWPQ2.CustomActionRibbonGroup.Go to CAPA\u0027s’)</div>
      <div>{</div>
      <div>_spFormOnSubmitCalled=false;</div>
      <div>__doPostBack(‘ctl00$ctl33$g_965cd9e0_5b9a_4729_8ca1_f1c3b5d32e24’, ‘CustomActionGo to CAPA\’s’);</div>
      <div>SP.UI.Notify.addNotification(‘Process action: Go to CAPA’s’);;</div>
      <div>}</div>
      </div>

    • #10782
      Larus Thor Johannsson
      Larus Thor Johannsson
      Participant

      The irony is deafening 😀 Good luck on the fix.

Viewing 6 reply threads

You must be logged in to reply to this topic.