SalesforceLabs / survey-force

85 stars 61 forks source link

leave out last section that allows survey completer to chk box anonymous or chk box user name that prepared survey #99

Closed garysecor closed 3 years ago

garysecor commented 3 years ago

charity wants to ask a question to survey user name and leave out the bottom part that asks them to check who they are

garysecor commented 3 years ago

is there a way to leave off the last section of the survey form ?

jrattanpal commented 3 years ago

There is currently no setting to disable it. But you can make changes to remove that.

https://github.com/SalesforceLabs/survey-force/blob/master/force-app/main/default/classes/ViewSurveyController.cls Line# 102: You can change that to following isInternal = false;

This will treat all surveys as non-internal. THat variable only controls if that section shows up or not. Of course, you should test it on sandbox before promoting to production

garysecor commented 3 years ago

Thanks much – will test

GAry

Gary Secor

Vice President CIO

Cloudtroupe

Direct 678-478-6776

Gary@cloudtroupe.com mailto:Gary@cloudtroupe.com

www.cloudtroupe.com http://www.cloudtroupe.com

From: jrattanpal notifications@github.com Sent: Tuesday, March 2, 2021 9:28 AM To: SalesforceLabs/survey-force survey-force@noreply.github.com Cc: garysecor gary@cloudtroupe.com; Author author@noreply.github.com Subject: Re: [SalesforceLabs/survey-force] leave out last section that allows survey completer to chk box anonymous or chk box user name that prepared survey (#99)

There is currently no setting to disable it. But you can make changes to remove that.

https://github.com/SalesforceLabs/survey-force/blob/master/force-app/main/default/classes/ViewSurveyController.cls Line# 102: You can change that to following isInternal = false;

This will treat all surveys as non-internal. THat variable only controls if that section shows up or not. Of course, you should test it on sandbox before promoting to production

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/survey-force/issues/99#issuecomment-788947219 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AECPNHMFGGN6UQZBAGZNUA3TBTYVTANCNFSM4YN3JNRQ .

garysecor commented 3 years ago

How do I edit the controller already installed?

Thanks

Gary

Gary Secor

Vice President CIO

Cloudtroupe

Direct 678-478-6776

Gary@cloudtroupe.com mailto:Gary@cloudtroupe.com

www.cloudtroupe.com http://www.cloudtroupe.com

From: jrattanpal notifications@github.com Sent: Tuesday, March 2, 2021 9:28 AM To: SalesforceLabs/survey-force survey-force@noreply.github.com Cc: garysecor gary@cloudtroupe.com; Author author@noreply.github.com Subject: Re: [SalesforceLabs/survey-force] leave out last section that allows survey completer to chk box anonymous or chk box user name that prepared survey (#99)

There is currently no setting to disable it. But you can make changes to remove that.

https://github.com/SalesforceLabs/survey-force/blob/master/force-app/main/default/classes/ViewSurveyController.cls Line# 102: You can change that to following isInternal = false;

This will treat all surveys as non-internal. THat variable only controls if that section shows up or not. Of course, you should test it on sandbox before promoting to production

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/survey-force/issues/99#issuecomment-788947219 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AECPNHMFGGN6UQZBAGZNUA3TBTYVTANCNFSM4YN3JNRQ .

jrattanpal commented 3 years ago

This is an un-managed package. Once you install it, you own the code and can make any changes as needed.

jrattanpal commented 3 years ago

Closing it for now. Please create a new issue if more help is needed