Condition_IsOwnedSiteTag
Description
Returns whether the Site identified by the SiteTag given in S1 is owned by any Household. This condition does not depend on the BaseObject; it only checks whether the resolved Site has a valid owner Household. If the SiteTag is invalid or no Site can be resolved, the Site is treated as not owned and NotEqual returns true.
Parameters
| Parameter | Description |
|---|---|
| CompareType | Equal: true if the Site is owned by any Household. NotEqual: true if the Site is not owned. |
| S1 | The unique SiteTag (FName) that identifies the target Site to check ownership for. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if the site tagged ShopSite_A01 is owned | Self | IsOwnedSiteTag | Equal |
| Check if the site tagged ShopSite_B02 is not owned | Self | IsOwnedSiteTag | NotEqual |
| Check if a tagged site has been purchased by any household | Self | IsOwnedSiteTag | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents