SalesforceLabs / survey-force

86 stars 62 forks source link

Header and thank you page not visibile/working #150

Open LuciaMCSF opened 1 year ago

LuciaMCSF commented 1 year ago

Hi, some months ago I created the first survey with Survey Force and with some difficulties at the end we got a nice output, which fits perfectly with our needs. The link used to send to survey from Marketing Cloud was this one: https://COMPANYNAME-survey.secure.force.com/TakeSurvey?id=a0d6M00000IzHFhQAN&cId=%%=v(@IdCont)=%%&caId=%%=v(@caseId)=%% (%% is for ampscript in mc)

Now we have to create a new survey and we have built it in Survey Force . The link we use is this one https://COMPANYNAME-survey.secure.force.com/TakeSurvey?id=a0d6M00000IzHFhQAN&cId=%%=v(@IdCont)=%%&caId=none  the links redirect to the survey but we get these issues:

1. when we fill in a survey, we see data under the tab Surveys taken

SurveyTaken

but, in the contact page -related list Surveys taken- we do not see the taken info

SurveyTaken_RelatedListONContact
  1. the thank you page doesn't work. Please note we are using the standard Thank you page inside Survey (tab header, thank you). after that I get a message I am not authorized
Survey_thankyou

I thank you in advance for your suggestions/help.

jrattanpal commented 1 year ago

@LuciaMCSF

Can you post Apex Debug logs here? That can tell us what is going on. Contact is a lookup on "Survey Taker" object. When data is inserted, the rest will automatically happen.

only reason I can see is contact ID not getting passed in the URL when shared with customer. Other than that, without Apex debug logs, it's hard to see what is going on.

LuciaMCSF commented 1 year ago

@jrattanpal sorry for the late late feedback. Christmas time :-) At the end I created the thank you page as an external page (cloud page in MC) and solved in that way. Thanks for your support and please apologize again for being late in answering your feedback