최근 검색
최근 검색 없음

Alessandro Caldani
가입한 날짜: 2024년 9월 02일
·
마지막 활동: 2024년 9월 13일
팔로잉
0
팔로워
0
총 활동 수
1
투표 수
0
플랜 수
0
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Alessandro Caldani
Alessandro Caldani님이 에 게시물을 만듦
게시물 Q&A - Users, groups, and organizations
Good evening,
i tried to follow the steps described in this article:
In particular i did that:
- i created a new module
- i created a new organization
i copied this scritp in the bottom part of script.js file of the customer care portal $(document).ready(function() { var formID = 6502769669773; // Change this to the form ID you wish to remove var userOrgs = window.HelpCenter.user.organizations; var userOrgNames = userOrgs.map(org => org.name); if (!(userOrgNames.includes("ZENDESK"))) { // Specify the organization name here // If the user does not belong to the organization specified, remove the form option from the dropdown $('#request_issue_type_select option[value="' + formID + '"]').remove(); $('.nesty-panel').on('DOMNodeInserted', function(e) { $(this).children('ul').children().remove('#' + formID); }); } });
- I changed the formID with the module ID i just created
- I changed the userOrgNames with the name of the organization i just created
- I published the changed
- I tried to login with a final user that is not part of the new organization (but i had the same result with a user that is part of the new organization)
- I still see in the combo box list my new module name
There is someone that implemented the same changes with success that can give me some hint?
Alessandro Caldani
2024년 9월 02일에 게시됨 · Alessandro Caldani
0
팔로워
3
투표 수
2
댓글