Highlighted
Outstanding Contributor.
Outstanding Contributor.
2088 views

Internal Survey - disable - Do you want to register an interaction

Jump to solution

Hello experts,
Do you know how can I disable this question in Internal Survey?
Capture.JPG

I don't need this kind of responses.
Best regards,
Dino

Tags (1)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Internal Survey - disable - Do you want to register an interaction

Jump to solution

I have accomplished this very thing before, using strrep() in the SurveyInternal.view displayscreen to modify the contents of the $questions variable.

View solution in original post

0 Likes
7 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Internal Survey - disable - Do you want to register an interaction

Jump to solution

Hello Dino,
Hope you are doing well.

I found a previous Support ticket asking for a very similar request.
While checking it, I learned that the actual text can be changed since those are 'scmessages' when searching for class 'survey' and ID '112'.

However, in order to delete a specific value, you will need to open a ER. Please check the following link to open it:

ER Forum

Hope this helps!

BR!

 

 

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution. If you are satisfied with anyone’s response please remember to give them a LIKE by clicking on the Thumb and show your appreciation.
Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

Re: Internal Survey - disable - Do you want to register an interaction

Jump to solution

I have same requeriment...

0 Likes
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Internal Survey - disable - Do you want to register an interaction

Jump to solution

I have accomplished this very thing before, using strrep() in the SurveyInternal.view displayscreen to modify the contents of the $questions variable.

View solution in original post

0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: Internal Survey - disable - Do you want to register an interaction

Jump to solution

I have accomplished /disabled by removing references to  fucntion 'RegisterInteractionComponent' in script library 'SurveyDynamicFormComponent'

/*var RegisterInteractionComponent = {

 

// render: function(question, questionIndex){

// var xml = '<select componentName="registerInteraction" id="callback.support" label="{{label}}" mandatory="false" mandatoryResult="false" style="radio" visible="true" visibleResult="true">{{value}}<option label="{{labelNormal}}">normal</option><option label="{{labelComplaint}}">complaint</option><option label="{{labelCompliment}}">compliment</option></select>'

// var template = _.template(xml);

// var _label = system.functions.scmsg('112','survey');

 

// return template({

// label : _.isNumber(questionIndex)? (questionIndex+1) + '. ' + _label : _label,

// labelNormal : system.functions.scmsg('1121','survey'),

// labelComplaint: system.functions.scmsg('1122','survey'),

// labelCompliment: system.functions.scmsg('1123','survey'),

// value: (_.isEmpty(question.value))? 'normal':question.value

// });

// },

 

// getValue: function(svcSrcSurvey, xmlElement){

// return xmlElement.getValue();

// }

 

//}; */

Let me know if you have any questions or need any more information.

Thanks!

 

0 Likes
Highlighted
Established Member..
Established Member..

Re: Internal Survey - disable - Do you want to register an interaction

Jump to solution

Exactly, how did you use the strrep()

@AChandler 

0 Likes
Highlighted
Frequent Contributor.. Frequent Contributor..
Frequent Contributor..

Re: Internal Survey - disable - Do you want to register an interaction

Jump to solution

Hi @AChandler 

Thanks for your answer.

I used your suggests, but SRC show me this option yet. 

For SRC Should I used another set up???

0 Likes
Highlighted
New Member..
New Member..

Re: Internal Survey - disable - Do you want to register an interaction

Jump to solution

this could be done by updating the scriptlibrary record "SurveyDynamicFormComponent" function "RegisterInteractionComponent"

 

and if you look to change the behavior for each select you can do it thought script library "Survey_Internal" and the functions is "newSupportInteraction"

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.