• Home
  • About Us
  • Contact Us
  • Privacy Policy
  • Special Offers
Business Intelligence Info
  • Business Intelligence
    • BI News and Info
    • Big Data
    • Mobile and Cloud
    • Self-Service BI
  • CRM
    • CRM News and Info
    • InfusionSoft
    • Microsoft Dynamics CRM
    • NetSuite
    • OnContact
    • Salesforce
    • Workbooks
  • Data Mining
    • Pentaho
    • Sisense
    • Tableau
    • TIBCO Spotfire
  • Data Warehousing
    • DWH News and Info
    • IBM DB2
    • Microsoft SQL Server
    • Oracle
    • Teradata
  • Predictive Analytics
    • FICO
    • KNIME
    • Mathematica
    • Matlab
    • Minitab
    • RapidMiner
    • Revolution
    • SAP
    • SAS/SPSS
  • Humor

Ribbon Access for Custom Entities to PowerSurveyPlus Surveys

October 15, 2018   Microsoft Dynamics CRM
psp ribbon 300x225 Ribbon Access for Custom Entities to PowerSurveyPlus Surveys

Do you use PowerSurveyPlus? Do you enjoy the feature that allows one-click access from the ribbon to Surveys from lead and contact records? Do you wish you could have ribbon access to surveys from other entities?

We recently implemented a simple no-code ribbon customization that gives you access to this feature on almost any entity you desire. The only limitation is that the entity must be enabled for activities, so it can’t be an Activity Entity.

We wanted a user to be able to complete an evaluation of a task as soon as they completed it, so we added the “Fill out Survey” button to the ribbon for that activity.

To implement this, you need to have PowerSurveyPlus and Ribbon Workbench installed in your CRM organization. To learn more about Ribbon Workbench see this blog.

First, create a solution that contains the entity you want to modify. You do not need to include any components, but you should check the box labeled “include entity Metadata.” For the best ribbon workbench performance, this solution should not contain any other entities.

Now export this solution as an unmanaged solution and save it as a backup – this is a best practice when using ribbon workbench. In case your ribbon becomes broken or corrupted in any way, you can re-install the entity ribbon as it was before you started, by importing this solution back into your organization.

Then open the Ribbon Workbench, and load the solution you just created:

101518 1819 RibbonAcces1 Ribbon Access for Custom Entities to PowerSurveyPlus Surveys

In this case, the entity we are updating is the project task entity. Once it is loaded, drag the button from the toolbox onto the Form ribbon in the location you want your button to appear:

101518 1819 RibbonAcces2 Ribbon Access for Custom Entities to PowerSurveyPlus Surveys

  • Edit the ribbon of the Work Order entity to add a button “btnGenSurveysPlus”
  • Label: “Fill Out Survey” (this can be changed to reflect the purpose of your survey, if needed)
  • Tool Tip Title: “Fill out Survey”
  • Tool Tip Description: “Choose a Survey for this call and fill it out “
  • Image 16: $ webresource:posp_ContactLeadSurveyActivityImg16
  • Image 32: $ webresource:posp_ContactLeadSurveyActivityImg32 (these images will be present in your org as PowerSurveyPlus is installed)
  • Sequence: this will be filled based on where you drop the button
  • Command Core: btnGenSurveyPlus.Command

101518 1819 RibbonAcces3 Ribbon Access for Custom Entities to PowerSurveyPlus Surveys

  • Click on the Plus sign next to Commands() in the solution elements to create the new command
  • Edit the properties of The Command
  • Id: btnGenSurveyPlus.Command
  • Add action of type – Custom JavaScript Action
  • Library: $ webresource:posp_/scripts/FillOutSurvey.js  (This script provides the chooser, and opens the Assessment for updating – this Javascript already exists in your org if PowerSurveyPLus is Loaded)
  • Function name: FillSurvey

101518 1819 RibbonAcces4 Ribbon Access for Custom Entities to PowerSurveyPlus Surveys

  • Add a Display Rule: posp.posp_survey.DisplayRule0.DisplayRule
  • The Display Rule:
    • In-customized: False
    • Add a Step > FormState Rule
    • Default: False
    • State: Create
    • Invert result: True

101518 1819 RibbonAcces5 Ribbon Access for Custom Entities to PowerSurveyPlus Surveys

This display rule is to control the visibility of the button. In this case, the button will not be visible on the create form, so surveys can only be created from the entity after it has been saved.

Click Publish at the top of the screen. You will be reminded to take a backup of your solution – but you already did that when you created it, right?

It may take several minutes to build the new ribbon and publish it to your org, so be patient!

Now when we open a project task, the Fill out survey button is available.

101518 1819 RibbonAcces6 Ribbon Access for Custom Entities to PowerSurveyPlus Surveys

The standard CRM Lookup opens when it is clicked.

101518 1819 RibbonAcces7 Ribbon Access for Custom Entities to PowerSurveyPlus Surveys

When you click the Add button, the survey opens in a new browser window for completion.

Hopefully this helps you to make collecting survey data from your users even easier with PowerSurveyPlus!

For more Dynamics 365 tips and tricks – subscribe to our blog!

Happy Dynamics 365’ing!

Let’s block ads! (Why?)

PowerObjects- Bringing Focus to Dynamics CRM

Access, Custom, Entities, PowerSurveyPlus, Ribbon, Surveys
  • Recent Posts

    • WATCH: ‘Coming 2 America’ Movie Review Available On Amazon Prime & Amazon
    • IBM launches AI platform to discover new materials
    • 3 Ways a Microsoft Dynamics 365 Supply Chain Management and EDI Integration Enhance E-Commerce CRM Strategy
    • The Neanderthals
    • What the swarm of new Azure announcements mean
  • Categories

  • Archives

    • March 2021
    • February 2021
    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    • April 2020
    • March 2020
    • February 2020
    • January 2020
    • December 2019
    • November 2019
    • October 2019
    • September 2019
    • August 2019
    • July 2019
    • June 2019
    • May 2019
    • April 2019
    • March 2019
    • February 2019
    • January 2019
    • December 2018
    • November 2018
    • October 2018
    • September 2018
    • August 2018
    • July 2018
    • June 2018
    • May 2018
    • April 2018
    • March 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    • October 2017
    • September 2017
    • August 2017
    • July 2017
    • June 2017
    • May 2017
    • April 2017
    • March 2017
    • February 2017
    • January 2017
    • December 2016
    • November 2016
    • October 2016
    • September 2016
    • August 2016
    • July 2016
    • June 2016
    • May 2016
    • April 2016
    • March 2016
    • February 2016
    • January 2016
    • December 2015
    • November 2015
    • October 2015
    • September 2015
    • August 2015
    • July 2015
    • June 2015
    • May 2015
    • April 2015
    • March 2015
    • February 2015
    • January 2015
    • December 2014
    • November 2014
© 2021 Business Intelligence Info
Power BI Training | G Com Solutions Limited