Home Service Manager Portal Feature Requests
We appreciate you taking the time to vote and add your suggestions to make our products awesome! Your request will be submitted to the community for review and inclusion into the backlog.

We recommend reviewing what is submitted before posting, in case your idea has already been submitted by another community member. If it has been submitted, vote for that existing feature request (by clicking the up arrow) to increase its opportunity of being added to Cireson solutions.

For more information around feature requests in the Cireson Community click here.

Is there a way to open the Send Email feature in a new window instead of a pop up?

having the send email feature be just a pop up makes it hard to enter notes- for instance. If I need to copy and paste information from a KB article, I can't do it unless I copy it before clicking Send Email.

It would be great if we could make it a new window and not a pop up that we can't move.

Answers

  • james_kleinschnitzjames_kleinschnitz Cireson Dev, Product Owner Advanced IT Monkey ✭✭✭
    There is no way to accomplish this out of the box but you could accomplish by creating your own custom task.

    Here are some knowledge articles on creating custom tasks:

    https://support.cireson.com/KnowledgeBase/View/52#/
    https://support.cireson.com/KnowledgeBase/View/1195#/

    I hope this helps.
  • Roland_KindRoland_Kind Partner Advanced IT Monkey ✭✭✭

    Hi,

    because I had a similiar problem and if you are willing to change the original cireson application files you can do a quick hack to accomplish your needs:

    1) modify the Controller.js file in the \inetpub\CiresonPortal\Scripts\forms\tasks\sendEmail Directory (add one line) (make the popup window a "non modal window" - now you have access (copy / paste) to the parent window

     title: localization.SendEmail,

    width: 650,

    height: 740,

    modal: false,

    actions: [],

    activate: function () {

    2) copy this to your custom.js file (this will delete the css rule to fix the popup window :)

    (please note - this will affect other popup Windows, too and I have not tested this with other Browsers than IE / Edge !)

    < Code starts here >

    app.custom.formTasks.add('ServiceRequest', null, function (formObj, viewModel) {
      formObj.boundReady(function() {
      RK_MoveableWindows(); 
        });
        return;
    });

    app.custom.formTasks.add('Incident', null, function (formObj, viewModel) {
      formObj.boundReady(function() {
      RK_MoveableWindows(); 
        });
        return;

    });

    app.custom.formTasks.add('ChangeRequest', null, function (formObj, viewModel) {
      formObj.boundReady(function() {
      RK_MoveableWindows(); 
        });
        return;

    });

    function RK_MoveableWindows()
    {
     // IE
     var sheet = document.styleSheets[0]  //  cireson.main.min.css
     if (sheet.rules) {
      for (var i=0; i<sheet.rules.length; i++) {  
       
       if('cssText' in sheet.rules[i])
       {
        var str = sheet.rules[i].cssText; 
        if (str != "")
        {
         if (str.indexOf(":not(.acivity-popup-window).k-window.k-widget") !== -1)
         {
          console.log(sheet.rules[i]);
          console.log(i);
          try
          {
           sheet.rules[i].style.cssText="";
          }
          catch (e){}
         }
        }
       }
      }   
     }
     
     // Edge
     if (sheet.cssRules) {
      for (var i=0; i<sheet.cssRules.length; i++) {  
       
       if('cssText' in sheet.cssRules[i])
       {
        //console.log(i);
        try {

         var str = sheet.cssRules[i].cssText;      
         if (str.indexOf(":not(.acivity-popup-window).k-window.k-widget") !== -1)
         {
          console.log(sheet.cssRules[i]);
          console.log(i);      
          if ('0' in sheet.cssRules[i].cssRules)
          {
           sheet.cssRules[i].cssRules[0].style.cssText="";
          }
          else
          {
           sheet.cssRules[i].style.cssText="";
          }
         }
        }
        catch (e){}
       }   
      }   
     }
    }


    regards


    Roland

  • Peter_MiklianPeter_Miklian Customer Advanced IT Monkey ✭✭✭

    Just a backlink to another thread according to this topic: https://community.cireson.com/discussion/5503/send-email-task-customisation#latest

Sign In or Register to comment.