Hi all,
I have created a customer voice form and am attempting to add it to a Sharepoint modern page via the Microsoft Forms web part. I am getting the error - This is not a valid form link. Please copy a URL from Microsoft Forms.
The Learn more link just goes to a page showing how to add forms the old way - using Microsoft Forms - forms.office.com...
Am out of luck with this right now? I can use an iframe if necessary. I was just hoping there was some way of making this work using the forms web part.
You may use SharePoint embed web part and use the following
<iframe height="<height_in_pixel>" width="<width_in_pixel>" src="https://customervoice.microsoft.com/Pages/ResponsePage.aspx?id=<survey_id>&embed=true&compact=<is_compact>&lang=<language_code>&ctx=<survey_variable_object>"></iframe>
where:
height_in_pixel: value in decimal for example: 500 or 600
width_in_pixel: value in decimal for example: 500 or 600
survey_id: Id of survey
is_compact: This is Boolean value, true or false.
language_code: code of language in which the survey need to be rendered. For example: it – Italian, hi – Hindi, en – English
survey_variable_object: Object of survey variable where information can be passed contextually. So, if customer has created the survey variables from Customer Voice, and used inside questions on designer page, so value of those variables can be controlled from this object at run time while rendering the response page.
Object: {"First Name":"first_test","Last Name":"last_test","locale":"locale_test", "test":"testing_new_variable"}
Note: Once the survey variable object values are filled, it need to be URL encoded before putting in Iframe structure. So instead of putting the Raw object in Iframe, user need to put the Encoded one.
Raw: {"First Name":"first_test","Last Name":"last_test","locale":"locale_test", "test":"testing_new_variable"}
Encoded: %7B%22First%20Name%22%3A%22first_test%22%2C%22Last%20Name%22%3A%22last_test%22%2C%22locale%22%3A%22locale_test%22%2C%20%22test%22%3A%22testing_new_variable%22%7D
For example:
<iframe height="640px" width="480px" src="">forms.office.com/.../ResponsePage.aspx
Hi,
I tried this yesterday and it partially worked, only it created a typo in the heading of my alternate language version which was not actually in the CV file. So I took it down off the Sharepoint but now today it doesn't work at all and when I paste it into my browser I get a 404 page not found message. Any more clues please? Thanks,
I found that if I swap out the "customervoice.microsoft.com" section of the URL for "forms.office.com/FormsPro" it works a treat using the Forms webpart.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156