I have updated a list of Components (count:320), all belongs to specific content Publication. Now I want to republish all Pages and Components whichever are using the updated Components. There are almost 90 Web Publications which inherit content from the above mentioned content Publication.
I am using Core Service to get usingItems
report, checking where the Component is being used, if it is Page, I am checking where the Page is published to, which Publication it is published from, based on that I am republishing the Page, and if I get any Component in usingItems
report, again I am checking the same scenario till 4 level links.
Now as the list of Components and lists of web Publications is huge, the Core Service code is taking long time to complete the activity for all updated Components. It's been 2 days since I ran the code, still the activity isn't completed yet.
Is there any other way to accomplish this activity in a shorter time?