on 2022 Jul 18 11:19 AM
CatalogVersionSyncJob synchronizes all modified pages, but I would like to synchronize only the pages whose displayStatus is changed to "Ready for Sync". This can't be achieved by using SearchRestriction because displayStatus is a dynamic attribute(OOTB). Could anyone provide solution for this?
Request clarification before answering.
I think you should create custom function for that
The easiest way IMO is to create new cronjob to get only pages whose catalogVersion is in Staged and approvalStatus is check, then you can re-filter again in java code to get only pages whose displayStatus is READY_TO_SYNC, because as you say, displayStatus is a dynamic attribute so you can't query that.
After you create cronjob, you can put search restriction in cronjob if the person logged in should not have access to other cronjobs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
19 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.