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

How to send many objects at once to the publisher?

Moonstone

How to send many objects at once to the publisher?

PDMLink 9.1 M050.

Does anybody have a method or technique that will allow a user to send
many objects at once to the publisher? For example:

1. navigate to a folder
2. select many or all of the objects contained in the folder
3. send these objects to the publisher

or

1. search for objects
2. select many or all of the objects found
3. send these objects to the publisher

I am aware of the "Publish Schedule Administrator" under Site | Utilities.
However this is an all or nothing situation. With it you can tell the
system to publish all objects that do not have a viewable which is NOT
what I want. We have hundreds of thousands of objects that do not have
a viewable because we just migrated from Intralink 3.4. I do not want to
publish all of them.

Thanks
--
1 REPLY 1

RE: How to send many objects at once to the publisher?

Hey Randy, I am no expert in the area of publishing, but some one passed me some publishing code & I enhanced it for selective publishing:

http://www.datajett.com/windchill/wc_dev/Publish/ScheduleJobsExt.java

Then a readme that shows how to add this programs methods into your publish queue list (if those terms are correct):

http://www.datajett.com/windchill/wc_dev/Publish/ScheduleJobsExt.txt

It allows for released or prototype state (per request), along with prt/asm/drw selectivity.

I seen some where else on this forum, where they allowed for queries with name/number wildcards: all 1% DRW's, etc.

So maybe you just adjust the code to add a query for all 1%, then 2%, etc. Then run at night, for 10 days in a row.

I am not sure how many objects you have to publish, but I am sure some have published their whole db at night.
Of course too many objects will cause problems. But maybe 1/10 per night for 10 nights in a row, might do it.

Now I dont have my vmware up where I can check on Windchill, for a publish selected objects action icon,
but I would not be surprised. Especially since there is a reAssign LifeCycle action icon for selected objects in
a search page in wc 9.1 now.

Might be just what you need there. I dont recall. If it is not there already, I imagine you could create a action bar icon,
jsp, java class/methods that takes all selected objects & publishes, but oh what a job that would be.

But you can take the java above & create 10 new methods to ru 1%, 2%, etc & schedule them for the next 10 days.

If you dont know the dev area & you have time to wait, let me know & that could be my next night time free project.

It should not take long, since most the code it is right there. Just adding different query code.

Look for action bar icon for publishing. If anybody knows of such a publish selected objects action icon or ??, please post here.

If not there, then let me know if you want some quick code.

L Jett
cadjett@aol.com;datajett@aol.com