Cloning a Taxonomy Issue

stevemkuk
Tera Contributor

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

 

12 REPLIES 12

@Prakhar was there a specific fix suggested for this?  If you note my reply above, you can see that I'm still experiencing this issue.

GoBucks
Mega Sage

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

Brendan N1
Tera Contributor

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;
}