Cancel
Showing results for 
Search instead for 
Did you mean: 

Remove object from folder

Phenom
Phenom
Anyone know of a way to remove an object from a folder? Either through a workflow, utility or IPS?
Rich
Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk
4 REPLIES

Re: Remove object from folder

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor
Siemens removed our capability to manipulate folders when they obsoleted the MSA (MultiSiteAssistant) toolkit (specifically tc_extract_msa). Last supported version was Tc10.1. I've submitted an enhancement request (ER#9163361) which you can call GTAC to put your name to also (adds priority to it).

IPS_Upload may be able to handle it but I haven't used it in a long time.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Remove object from folder

Siemens Legend Siemens Legend
Siemens Legend

Hi Richard,

    I've not tested this myself, but the PLMXML/TCXML Export Import Administration guide has an example of using PLMXML delta modify to remove an object from a folder.

 

Re: Remove object from folder

Phenom
Phenom
Aha! Excellent, I shall try this tomorrow.
Thanks,
Rich
Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk

Re: Remove object from folder

Phenom
Phenom

This worked a treat.

 

For everyones information, I used the following using the cots incremental_import to delete a folders content.  To get the Application Ref element I performed a plmxml export:

 

<?xml version="1.0" encoding="utf-8"?>

<PLMXMLDelta xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema" schemaVersion="6"

author="unset" time="12:00:00" date="2013-04-26">

<ExternalReference id="id2" type="Folder">

<!-- ApplicationRef element of the Folder whose content will be deleted. -->

<ApplicationRef application="Teamcenter" label="RRBAAQC4IrfUkB" version="RRBAAQC4IrfUkB"></ApplicationRef>

</ExternalReference>

<Modify id="id1" targetRef="#id2" op="delete" attributeName="folderContentRefs" />

</PLMXMLDelta>

 

Rich

Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk