cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Creating rule-based publishing jobs for lots of items

MH_10463676
10-Marble

Creating rule-based publishing jobs for lots of items

Hello,

we are thinking about activating positioning assemblies. For that, we need to have representations for all items in our system.

Anyhow, we have lots of items  without a representation (couple of thousands), especially vendor components.

Is there a simple way of creating (rule-based) publishing jobs for these items?

 

Best regards

Martin

ACCEPTED SOLUTION
6 REPLIES 6

This goes definitely in the right direction but is still very general. The approach described above will create representations for all CAD data (+pre-defined filter) without any chance of having prio-settings, right? Like doing vendorcomponents first. Right?

 

But we need to discuss it. At last we need representations for all items.

TomU
23-Emerald IV
(To:MH_10463676)

Depends how your data is segmented.  Jobs can be started from "Site, Organizations, Projects, Products, or Libraries", and the job only affects those objects from where the job was started.  If vendor components are in a specific product or library, you could just choose to create a job for that one context.

Indeed! That will do the job!

 

Thanks for your help and have a nice weekend!

 

Regards
Martin

TomU
23-Emerald IV
(To:MH_10463676)

Another handy tool is the command line utility PublishUtil which will publish a list of objects from a CSV file.  It's pretty easy to query the database and get a list of specific objects to publish (or republish).  Add their idA2A2 values to a CSV and then feed them into this utility.  (No server restart is required to install this utility.)

 

https://www.ptc.com/en/support/article/CS211115

 

Focus on the PublishEPMDocWithCSVFile filter.

Thanks, I'll have a deeper look into this next week!

Announcements


Top Tags