I'm doing an integration from Active Directory to Umbraco by keeping a bunch of user fields and photos in sync. It is just a simple loop looking up information/etc however inside of each loop I'm republishing each node because I really don't know if the photo had changed or not. The entire process seems extremely slow.
loop
_contentService.SaveAndPublishWithStatus(node, 0, false);
end loop
Inside the loop I'm also unpublishing nodes if they are no longer in the active directory/meet a certain condition.
Is there a way to streamline the publish/unpublish so it isn't per node which seems extremely slow.
Streamlined Synchronize and Publish
I'm doing an integration from Active Directory to Umbraco by keeping a bunch of user fields and photos in sync. It is just a simple loop looking up information/etc however inside of each loop I'm republishing each node because I really don't know if the photo had changed or not. The entire process seems extremely slow.
Inside the loop I'm also unpublishing nodes if they are no longer in the active directory/meet a certain condition.
Is there a way to streamline the publish/unpublish so it isn't per node which seems extremely slow.
is working on a reply...