App projects: Difference between revisions

Jump to navigation Jump to search
Line 276: Line 276:


; Advanced {{Anchor|Mark as Parent Pointer}}
; Advanced {{Anchor|Mark as Parent Pointer}}
:* Mark as Parent Pointer – When you enable this flag for a lookup field, you can establish a child-parent relationship between entities. This information is used at various places in the app, for example:
:* Mark as Parent Pointer – When you enable this flag for a lookup field, you can establish a child-parent relationship between entities. This information is used at various places in the app, usually to ensure that both parent and child records are available (all child records for each parent; no orphaned child records, etc.), for example:


::* In the entity download phase of sync, to include the parent entity's [[Sync_Filter#Mark_as_Parent_Pointer|sync filter]] also for child entity records. I.e., only download child records if their parent records are also downloaded.
::* In the entity download phase of sync, to include the parent entity's [[Sync_Filter#Mark_as_Parent_Pointer|sync filter]] also for child entity records. I.e., only download child records if their parent records are also downloaded.
::* When [[Synchronization_steps#Uploading_local_changes|uploading local changes]] during synchronization to establish the order of entities. Status changes for parent records are updated only after all associated child records are uploaded.
::* When [[Synchronization_steps#Uploading_local_changes|uploading local changes]] during synchronization to establish the order of entities. Status changes for parent records are updated only after all associated child records are uploaded.
::* When deleting parent entity records (to clean up also child records)
::* When deleting parent entity records (to clean up also child records)
::* In [[Sync Filter]] (to ensure that both parent and child records are available)
::* (Salesforce only) Check to download only attachments belonging to records that are available offline. This property can optimize data download.
::* (Salesforce only) Check to download only attachments belonging to records that are available offline. This property can optimize data download.


Navigation menu