Question
IQZ Systems
US
Last activity: 29 Sep 2024 22:26 EDT
Selectively updating pages through Declare Index with pagelist source
We are working on an application where we are using a Declare Index whose source is a pagelist property (provided a sample screenshot similar to what we have in our env).
We observed that whenever this Declare Index is triggered by the appending of a new record to the source pagelist, it is uploading all the records in the pagelist to the Index table. As it is re-creating records in the Index table, it is updating the already present records in the table and also bringing back the previously purged records to the Index- table as we also have a logic to purge Index records periodically. We need to know if we can upload pages from this source page list selectively to the Index- table on triggering of the Declare Index, to avoid such issues caused by uploading every page in the pagelist.
We explored the When condition available on the Declare Index, but it is not providing an option to select pages individually from a pagelist to upload based on the logic. If the when is true, all items in the pagelist are uploaded or if it's false, the declare index is not working at all.
We are working on an application where we are using a Declare Index whose source is a pagelist property (provided a sample screenshot similar to what we have in our env).
We observed that whenever this Declare Index is triggered by the appending of a new record to the source pagelist, it is uploading all the records in the pagelist to the Index table. As it is re-creating records in the Index table, it is updating the already present records in the table and also bringing back the previously purged records to the Index- table as we also have a logic to purge Index records periodically. We need to know if we can upload pages from this source page list selectively to the Index- table on triggering of the Declare Index, to avoid such issues caused by uploading every page in the pagelist.
We explored the When condition available on the Declare Index, but it is not providing an option to select pages individually from a pagelist to upload based on the logic. If the when is true, all items in the pagelist are uploaded or if it's false, the declare index is not working at all.
We want to know if this is how Declare Index behaves and if there is any work around for selectively uploading the pages from source page list to Index class?