Forms pro Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/tag/forms-pro/ Microsoft Dynamics CRM . Microsoft Power Platform Wed, 03 Jun 2020 06:33:47 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/cropped-Microsoftdynamics365-blogs.png?fit=32%2C32 Forms pro Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/tag/forms-pro/ 32 32 176351444 Store source of survey or Mapping context variable value to Question Response in Dynamics 365 http://microsoftdynamics.in/2020/06/02/store-source-of-survey-or-mapping-context-variable-value-to-question-response-in-dynamics-365/ Tue, 02 Jun 2020 18:20:15 +0000 http://microsoftdynamics.in/?p=3377 In this post, We will store source from the context variable field to Question response in dynamics 365.
The requirement is to store SOURCE of an anonymous survey

We rendered form in website passing source value
Now we will create a Power automate flow, On receive of survey response

The post Store source of survey or Mapping context variable value to Question Response in Dynamics 365 appeared first on Microsoft Dynamics 365 Blog.

]]>

In this post, We will store source from the context variable field to Question response in dynamics 365.

The requirement is to store SOURCE of an anonymous survey

  1. We rendered form in website passing source value
  2. Now we will create a Power automate flow, On receive of survey response

    • Selecting Action as Parse JSON
    • Selecting Context Data

    • Now we will generate a schema from the sample, Going to an already received Response record in Dynamics 365
    • Then copy the context and Generate Schema

  3. Get Hidden Question “Source”  form pro survey Question entity where name  = “Source”
    NOTE: THIS IS NOT MANDATORY YOU CAN MAP IT WITH ANY OTHER EXISTING RESPONSE IF NEEDED

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5ed52b73cf8fd.png?fit=1257%2C768

Last Step is to add create new Forms pro question response

    1. Now we have our Received survey Response
    2. Survey Question = Source
    3. As our question was hidden and there was no answer, there will not be source Survey Question Response (We got a question in above step now we will map that question with this response)
    4. We will create  source Question response and associate it with received survey response
    5. To get Source Question identifier and Question for  Source(replace name) use below expression, As we have used fetch list of record where Question = source, we need to take 1 record only otherwise we have to use Apply to all (loop)

    body(‘Get_Recipient_question’)?[‘value’]?[0]?.msfp_questionid

Testing: When a survey response is received, Power automate will create a Forms Pro Survey Question response in CRM with Value passed in context

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5ed697cb5dc85.png?fit=1561%2C500

FULL POWER AUTOMATE FLOW

The post Store source of survey or Mapping context variable value to Question Response in Dynamics 365 appeared first on Microsoft Dynamics 365 Blog.

]]>
3377
Create an invitation or Send a Survey using Power Automate for Forms pro http://microsoftdynamics.in/2020/06/02/create-an-invitation-or-send-a-survey-using-power-automate-for-forms-pro/ Tue, 02 Jun 2020 12:12:33 +0000 http://microsoftdynamics.in/?p=3351 In our previous video, We created Personalized and how to map variable using power automate, In this post, we will see how to distribute the personalised survey

The post Create an invitation or Send a Survey using Power Automate for Forms pro appeared first on Microsoft Dynamics 365 Blog.

]]>

In our previous video, We created Personalized and how to map variable using power automate, In this post, we will see how to distribute the personalised survey

  1. There are 2 methods of distributing or sending a personalized survey. When we send a survey which creates an invite token or adds personalized information for recipient example case number
  2. Anonymous survey is distributed using links website placeholders or QR code, which have generic information and before receiving response recipient is unknown.
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5ed60791d2652.png?fit=1557%2C539

Check 1: Send Survey using direct Email

  1. Here we have 2 option, we can select a contact user from CRM environment
  2. or send a direct email to an email ID which doesn’t exist in CRM

 3. Then the question arises doesn’t this will be an anonymous survey than Normally it should but when we send email from here, Microsoft forms pro creates an contact in CRM environment and creates an invite for that Contact

So the recipient has a record in CRM Environment and an survey invite is also created for it, that means it is no longer an anonymous recipient

Check 2: Send a Survey using Power Automate

  • We will take an example of when a case is resolved
  • for this Power automate has an OOB template
  • We are using Case Number as a variable and will map variable value in power automate while sending the survey – click here to check how to create and pass variable to Forms pro survey

1st thing to do is create an email template in form pro itself, but it has ha GAP which some customer don’t prefer and jump to create an invite instead,
VARIABLE CAN NOT BE MAPPED WITH SUBJECT IN EMAIL TEMPLATE

Once email template is set , we can configure OOB template ” Send a survey When case is resolved in dynamics 365″

 

Here you will find the action send a survey include all invite and email in one, i.e selecting an email template which was created in point 2. Here you will find the action send a survey include all invite and email in one, i.e selecting an email template which was created in point 2

 

This step is a combination of the invite and send an email where email is sent from the user set in Forms pro.

Check3: Create an Invite using power Automate

  • We will create a new Power automate or edit existing OOB template
  • There will be 2 separate Steps
  1. Create Invitation / create an invite: where we will select our survey and map our case number variable field
  2. Once Invite is successfully created and mapped, we will create an email action to send en email and will fill up the body of the email instead of using a template. This way the small gap we had over not able to map variables in the subject will be filled.

Testing: Every email sent will create a record in Survey invite entity and will be mapped with contact and case.

The post Create an invitation or Send a Survey using Power Automate for Forms pro appeared first on Microsoft Dynamics 365 Blog.

]]>
3351
Pass Session ID in anonymous survey – add variable in forms pro survey URL as Parameter Microsoft dynamics 365 http://microsoftdynamics.in/2020/06/01/pass-session-id-in-anonymous-survey-add-variable-in-forms-pro-survey-url-as-parameter-microsoft-dynamics-365/ Mon, 01 Jun 2020 16:28:27 +0000 http://microsoftdynamics.in/?p=3307 The post Pass Session ID in anonymous survey – add variable in forms pro survey URL as Parameter Microsoft dynamics 365 appeared first on Microsoft Dynamics 365 Blog.

]]>

In our previous video, we passed Variable to a question and when the recipient opens Survey he sees his case number with Surevey

  1. setting our custom variable “CaseNumber” created in part 1st in Subtitle i.e Welcome to Dvmske customer experience survey  – Created for {{Casenumber}}
  2. It should look like below when creator preview the survey or when we send this survey as anonymous though the link
  3. When the survey is sent to the recipient on case resolution, it Variable will have a case number of the recipient.

Click here to see full post

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5ed4ac4814152.png?fit=1581%2C596

In This post, we have a scenario where 3rd party Marketing tool which is fully integrated with CRM has a list of emails where they need to distribute Anonymous surveys but there is 1 condition.

Requirement: The survey recipient example abc@dvmske.com receives an Anonymous survey of 50% discount and while filling up the survey he enters different email 123@dvmske.com

  1. The requirement is to get Recipient Email ID along which Survey Response question email id.
  2. So there will be 2 Question response
    Question 1: Recipient Email (Hidden Question on survey)
    Question 2: Email ID

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5ed52b73cf8fd.png?fit=1257%2C768

Step 1: Add a hidden text question to the survey.

  • As Per the Requirement, we will have 2 Email question in our form
  • 1 of recipient email id that will be hidden, 2nd will be visible email id, that will be filled by Recipient
  • As we have also embedded survey on our website, we will add 1 more hidden field “Survey Source”
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5ed4b53ba5688.png?fit=1755%2C756

Step 2: For Testing adding a variable in Question and passing Parameter in the survey URL

  1. For the testing, we will add Variable Source and Recipient Variable in Source and Recipient Question on Survey
  2. Then passing both the variable in Survey URL parameter
    &ctx={“Recipient“:”abc@dvmske.com”,”Source“:”Email”}
  3. When Recipient submit the Survey we will receive these value with each Response and we can map these Variables with “Survey response questions Responses” in Dynamics 365 crm

In Below example, we are using Source as Email, We can set Source as Website for embedded Survey in our Website

NOTE: THESE 2 FIELDS WILL BE HIDDEN IN ORIGNAL SURVEY

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5ed4bac94e49a.png?fit=1705%2C726

Step 3: Mapping variable to Question Response in Dynamics 365 Once Recipient submits the survey

  • Once Recipient Submits the Survey, Power automate trigger will Generate a Question Response on Receive of Survey Response in Dynamics 365, NOTE: THESE QUESTIONS WERE HIDDEN SO QUESTION RESPONSE  WILL NOT BE AUTOGENERATED.

1. Create new automated flow

  • Create New automated flow
  • Select Common Data service and Action as when a record is created
  • Fill in Environment and entity

3. Get form pro survey Question "Recipient" and "Source"

  1. Add new step List  Records -> Renaming it Get Recipient Question
  2. Add new step List Rec-> Rename it Get Source Question

2. Parse JSON using Survey Response context

  • Selecting Action as Parse JSON
  • Selecting Context Data

  • Now we will generate a schema from the sample , Going to an already received Response record in Dynamics 365
  • Then copy the context and Generate Schema

Step 4: Create New forms pro Survey Question Response to store Recipient and Source Variable Value

  1. Now we have our Received survey Response
  2. Survey Question = Recipient
  3. Survey Question = Source
  4. As our question was hidden and there was no answer, there will not be any Recipient and source Survey Question Response
  5. We will create Recipient and source Question response and associate it with received survey response
  6. To get Source Question identifier and Question for Recipient and Source(replace name) use below expression, As we have used fetch list of record where Question = recipient, we need to take 1 record only otherwise we have to use Apply to all (loop)

body(‘Get_Recipient_question’)?[‘value’]?[0]?.msfp_sourcequestionidentifier

body(‘Get_Recipient_question’)?[‘value’]?[0]?.msfp_questionid

NOTE: &ctx={“Recipient“:”abc@dvmske.com”,”Source“:”Email”} Values inside these are not static, if there are 50 recipients while sending the survey link its marketing team responsibility to attach parameters.

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5ed4e72a6a9cf.png?fit=1392%2C920

Testing above scenario -> Recipient ABC@DVMSKE.COM and Email Enter is 123@gmail.com , Source = Email

  1. Email Sent ABC@DVMSKE.com so Variable Recipient will be = ABC@DVMSKE.COM
  2. SOURCE = EMAIL
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/Pass-parameter-to-Forms-pro-Surevey-URL.gif?fit=1280%2C720

Full Power Automate Flow.

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5ed73ee13da04.png?fit=1636%2C2481

Click here for More Article on Forms Pro

The post Pass Session ID in anonymous survey – add variable in forms pro survey URL as Parameter Microsoft dynamics 365 appeared first on Microsoft Dynamics 365 Blog.

]]>
3307
Error : You do not have permission on this environment. Please contact the environment administrator to provide you permission to access this environment. Forms Pro http://microsoftdynamics.in/2020/05/30/error-you-do-not-have-permission-on-this-environment-please-contact-the-environment-administrator-to-provide-you-permission-to-access-this-environment-forms-pro/ Sat, 30 May 2020 13:46:30 +0000 http://microsoftdynamics.in/?p=3251 After creating a new dynamics environment, Registering to FormsPro and assigning role to the users, I was assuming we are all set to start creating a survey but when visited the link https://forms.office.com/FormsPro/Pages/DesignPage.aspx we got below message
You do not have permission on this environment.
Please contact the environment administrator to provide you permission to access this environment.Learn more
Please switch to another environment.
This message will occur if forms pro solution is being provisioned in back ground or is missing from the environment you selected

The post Error : You do not have permission on this environment. Please contact the environment administrator to provide you permission to access this environment. Forms Pro appeared first on Microsoft Dynamics 365 Blog.

]]>
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/05/img_5ed25c814396b.png?fit=1896%2C506

After creating a new dynamics environment, Registering to FormsPro and assigning role to the users, I was assuming we are all set to start creating a survey but when visited the link https://forms.office.com/FormsPro/Pages/DesignPage.aspx we got below message

You do not have permission on this environment.
Please contact the environment administrator to provide you permission to access this environment.Learn more
Please switch to another environment.
This message will occur if forms pro solution is being provisioned in back ground or is missing from the environment you selected

Check 1 : Get the solution from App source or from admin portal.

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/05/img_5ed2600ad086e.png?fit=1919%2C569

Check 2 : Check if user assigned has license assigned for forms pro

  • Visit the admin.microsoft.com and ask global admin to check if license is assigned to correct user / signed user
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/05/img_5ed261851e1b2.png?fit=1912%2C189

Check 3 : Check if Application user for forms pro has been created in the environment or not

  • Navigate to Settings -> security -> users -> and search for form pro application user
  • After Successful Provision of forms pro , this application user is created
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/05/img_5ed2629339e92.png?fit=1928%2C682

Reference : https://formspro.microsoft.com/

The post Error : You do not have permission on this environment. Please contact the environment administrator to provide you permission to access this environment. Forms Pro appeared first on Microsoft Dynamics 365 Blog.

]]>
3251