Integrations and APIs for Service

Get Involved. Join the Conversation.

Topic

    Ryan Young
    How to actually deploy/upload Add-InAnswered
    Topic posted September 3, 2010 by Ryan YoungGold Medal: 3,500+ Points, last edited October 29, 2011 
    4831 Views, 24 Comments
    Title:
    How to actually deploy/upload Add-In
    Content:

    I'm using RN Feb '10, and have developed an Add-In.  It works great in Developer Mode; however, when I use the Add-In Manager to add the Add-In, it is not usable in other Account Profiles.  It is not even showing up as Active OR Inactive.  I am supposed to demo this in a little over 2 hours, but can not get it to work correctly.

    I have followed all of the steps I could find for deployment in the Getting Started, User Guide, and the Advanced Tutorials PDFs.  Please help!  I did notice something about "uploading the Add-In to the server", but could not find specific steps for that (unless it is referring to using the Add-In Manager >> New Add-In, which I have already done).

    The Add-In is showing up in the Add-In Manager, but not in the lists of Active / Inactive Add-Ins, so I am very confused.  Thank you in advance for your help!  :)

    Sincerely,

    Ryan Young

    Best Comment

    Kevin Noreus

    Hi Ryan,

    If your using the MSI installer then add-in deployment becomes a manual process.  I'm not an expert on this but there some info about it here:

    http://crm.rightnow.com/app/answers/detail/a_id/2778

    You basically need to recreate the AddIns directory structure yourself.  So you should just be able to create the AddIns directory under SiteFiles/<site name> and then copy your add-in from a working dev client of yours into it.

    So you would have:

    SiteFiles/<site name>/AddIns/YourAddIn/YourAddIn.dll

    Once you've done this the RN console should recognize the add-in next time its started up and load it assuming the logged in user's profile has access to it.

    Comment

    • Ryan Young

      SUCCESS!!!!!


      The answer which Kevin posted helped tremendously (http://crm.rightnow.com/app/answers/detail/a_id/2778).  In addition, I had to reinstall my RN CX Console, remove the old add-in, and replace it with a new copy.  It took a little tinkering, but I was able to get this done and pushed out to all agents who need it by the deadline.

      I want to thank Kevin Noreus, DS, and Jeff Elser for all of your support with this issue.  I totally owe y'all one, so next time you're in Houston, shoot me a message and I'll take you to lunch.  :)

      Have a great one, y'all!

      Sincerely,

      Ryan Young

    • Ryan Young

      This seems to have broken again.  I've been trying to install this to a new agent's machine, but it will not load again.  Since the problem was fixed, we have upgraded to RN August 2010 and Windows 7.  Any thoughts?

       

      Thanks!

       

      Ryan Young

    • Kevin Noreus

      Hi Ryan,

       

      Is this only a problem for this one user?  Other existing users that were upgraded are loading their add-ins properly?  There shouldn't be any change in this process for August 2010 and Windows 7.  Is it possible the new user's profile does not have rights to the add-in?

       

      Thanks,

      Kevin

    • Ryan Young

      This is a problem for the existing user (his stopped working) as well as the new user.  In addition, I have uninstalled my Click-Once CX Console and installed the MSI one, and now I am experiencing the same problems.

    • Kevin Noreus

      OK.  And both the existing user and yourself are on Win7 as well? 

      I'm assuming the add-in is not loading at all but you should be able to confirm this by looking at RightNow-->CRM Options-->AddIns and confirming the add-in is not loaded.  

      If this is the case I might suggest trying the following.  Try copying the entire AddIns directory with addins under the AddInPipeline directory.  The AddInPipeline directory should currently be at the same level as your AddIns directory.  After copying your directory hiearchy should look l like this.

       

      • AddInPipeline
      • AddIns
      • AddInSideAdapters
      • AddInViews
      • Contracts
      • HostSideAdapters

       

      Now try closing and reloading the console and see if the add-in gets loaded.

       

      -Kevin

    • Ryan Young

      Thanks, Kevin!

      Unfortunately, this didn't work.  I also tried putting the AddIn's folder (containing only the .DLL) into the AddInPipeline folder, but no luck there, either.

       

      ~Ryan

    • Kevin Noreus

      Thanks for trying that Ryan.  I'm not aware of any known issues related to this. I'll need to ask around and get back to you.  I suspect the issue is that for some reason the Console is unable to resolve the proper path for the AddIns directory and/or the AddInPipeline directory resulting it being unable to discover and load your add-ins.

      Just to confirm.  All of these users are on Win7. Correct?

      -Kevin

       

    • Kevin Noreus

      Hi Ryan,

      I had a QA engineer set up a similar environment (Win7 and RN v10.8) to yours to test this.  They were able to successfully load add-ins on the MSI installed clients by following the instructions documented here.

      http://crm.rightnow.com/app/answers/detail/a_id/2778/kw/msi%20%2B%20addin

      There must be something else going on with your site that is preventing the add-ins from loading.  I would suggest turning on Add-In logging and reviewing the log files after loading the console on a problematic machine.  This may provide some useful clues as to what is going on.

       

      Thanks,

      Kevin

    • Ryan Young

      Thanks, Kevin!!

      I got it working on my machine (finally!), and am working on getting the add-ins pushed to the agents' computers.  Just a note:  On Windows 7, the folder which was created by the ClickOnce installer was:

      C:\Users\<user name>\AppData\Roaming\RightNow_Technologies\SiteFiles\<site name>\AddIns

      Once I coppied that AddIns folder and placed it in the other heirarchy, it worked like a charm.  Thanks!  :)

       

      Sincerely,

      Ryan Young