Cloning a Taxonomy Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2022 01:59 AM
I am trying to clone the Employee Taxonomy on Employee Center.
When I click on Clone a box appears asking for the name of the new copy
I enter and Name and click on OK and apart from the OK box turning blue nothing happens.
The box just stays on screen and eventually I click the X on the box to close the pop box as the Cancel button does nothing either!
I have tried to repair the application but makes no difference.
If I click OK without entering a name still nothing happens, no errors or messages.
I am using my admin account
Can anyone offer any assistance?
Thanks
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 07:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2022 08:36 AM
Support helped me resolve this issue. Two options:
1) addressing a system property value by ensuring it is 'true' (OOTB, the property is true), OR
2) if the system property is chosen to be 'false', prior to the fix in Tokyo, one can edit the client script in the UI page of the modal.
Details on these options are here:
KB1005930 - Clone taxonomy is not working when "glide.ui.escape_all_script" is false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2022 01:27 PM
I also had this issue, though in my case I believe it was because I was attempting to clone into a custom scope, and there were cross scope errors blocking the clone. To get around this, I ran the function called by the Clone UI action manually via background script:
// Get employeeTaxonomyID from the default Employee taxonomy record
var employeeTaxonomyID = "1f5d5a40c3203010069aec4b7d40dd93";
// Put your desired new taxonomy name here
var newTaxonomyName = "";
gs.info(copyTaxonomyTree(employeeTaxonomyID, newTaxonomyName));
function copyTaxonomyTree(id, name) {
var currentTaxonomyId = id;
var newTaxonomyName = name;
var newTaxonomyId = '';
var gr = new GlideRecord('taxonomy');
gr.get(currentTaxonomyId);
if (gr.isValidRecord() && gr.canRead())
newTaxonomyId = new global.TaxonomyCopyUtil().copyTaxonomyTree(currentTaxonomyId, newTaxonomyName);
return newTaxonomyId;
}