Difference between revisions of "Global Data"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 14: Line 14:


==Configuring Global Data==
==Configuring Global Data==
To share data globally:
To set up global data sharing:
# Create a tenant from which to share objects and the data they contain.
# Create a tenant from which to share objects and the data they contain.
# In that tenant, create any objects you intend to share.
# In that tenant, create any objects you intend to share.
# Create a [[Package]] that contains the objects to share.<br>'''Note:''' Any objects that are the targets of a [[Lookup]] will be automatically added as dependencies.]]
# From the '''Object Properties''' page for each object, get the [[Object ID]].
# From the '''Object Properties''' page for each object, get the [[Object ID]].
# From [[Company Information]], get the Tenant ID.
# From [[Company Information]], get the Tenant ID.
Line 24: Line 25:
#*'''Global Tenancy ID -''' Enter the ID of the global tenant.
#*'''Global Tenancy ID -''' Enter the ID of the global tenant.
#*'''Global Tenancy Shared Object List -''' Enter the IDs of all objects that are to be shared.
#*'''Global Tenancy Shared Object List -''' Enter the IDs of all objects that are to be shared.
#*:'''Note:'''<br>Any objects that are the target of a [[Lookup]] from a shared object must be included in this list.
#*:'''Note:'''<br>Any objects that are the target of a [[Lookup]] from a shared object must be included in this list. (In other words, the objects in the list must match the objects contained in the package.)
 
==Sharing Data==
Once the package is published, any tenant who installs it will be able to see (but not modify or delete) the records in the objects it contains.
 
Tenants will be able to add their own records, as well, but those additions appear only in their own tenancy.


==Working with Global Data==
==Working with Global Data==

Revision as of 03:57, 10 January 2014

Service Provider URL: http://{domain}/networking/Service?t=1&targetpage=ViewPort.jsp
Settings > Service Provider Settings > Service Configuration > Global Tenancy

About Global Data

__Selected objects can from a designated tenancy can be shared all other tenants who have installed a package that contains those objects.__

Changes to the data stored in those objects are seen immediately by tenants who have installed (and are therefore subscribed to) the package.

New and modified objects are seen by tenants when the installed package is re-published.

Considerations:

  • ...

Configuring Global Data

To set up global data sharing:

  1. Create a tenant from which to share objects and the data they contain.
  2. In that tenant, create any objects you intend to share.
  3. Create a Package that contains the objects to share.
    Note: Any objects that are the targets of a Lookup will be automatically added as dependencies.]]
  4. From the Object Properties page for each object, get the Object ID.
  5. From Company Information, get the Tenant ID.
  6. Go to the Service Provider URL: http://{domain}/networking/Service?t=1&targetpage=ViewPort.jsp
  7. Go to Settings > Service Provider Settings > Service Configuration
  8. In the Global Tenancy section, provide the following:
    • Global Tenancy ID - Enter the ID of the global tenant.
    • Global Tenancy Shared Object List - Enter the IDs of all objects that are to be shared.
      Note:
      Any objects that are the target of a Lookup from a shared object must be included in this list. (In other words, the objects in the list must match the objects contained in the package.)

Sharing Data

Once the package is published, any tenant who installs it will be able to see (but not modify or delete) the records in the objects it contains.

Tenants will be able to add their own records, as well, but those additions appear only in their own tenancy.

Working with Global Data

Data Updates

Changes to shared objects are seen immediately by all tenants.

New and Modified Objects

To make a new objects visible to tenants:

  1. Add the object to the package, and re-publish the package.
    (Once published, all subscribed tenants are automatically updated.)
  2. Add it to the shared object list in the Service Provider Settings.

If an Object's structure changes (for example, by adding a field), the change is not visible to tenants until the package is re-published.

Deleting an Object

To delete an object, first remove it from the shared-object list in the Service Provider Settings. It can then be deleted like any other object.

Any data added to that object by a tenant will continue to be visible to that tenant, but the object will no longer contain shared data.