eSpace

  
#1 how do you share eSpaces? example you have an eSpace called "email" and would like to share this eSpace with eSpace eSpace01, eSpace02, eSpace03 etc

#2 What happens when....
eSpace01, uses the shared eSpace "email", user creates a few new email addresses "a@domain.com, b@domain.com,c@domain.com"
eSpace02, uses the shared eSpace "email" user creates a few new email addresses "d@domain.com, e@domain.com,f@domain.com"
eSpace03, uses the shared eSpace "email" user creates a few new email addresses "g@domain.com, h@domain.com,i@domain.com"

Now If you do a list record from eSpace01, what will you see?
i) a@domain.com, b@domain.com,c@domain.com OR
ii) a@domain.com, b@domain.com,c@domain.com" "d@domain.com, e@domain.com,f@domain.com" "g@domain.com, h@domain.com,i@domain.com" ?

Hi Robert,

 

You mean sharing entities, right?

 

The answer is ii), all data will be shared.

 

There is an option to create mutli-tenant eSpaces that behave like i) but they do not support Run/Debug and usually become harder to maintain, so if you need that I would suggest that you rather implement that behaviour programmatically with an additional attribute.

 

Cheers,

Tiago Simões

Thanks Tiago

Yes shared entity in one eSpace with another eSpace.

Great!
ii) is the result I expected.

by the way, Webscreens can not be shared? only web-blocks?

(also I sent you an email just then).

Hi Robert,

 

Regarding the sharing of web screens in version 4.2 it is still not possible to do it directly.

For now you can use a Dynamic URL in an External Site (make sure you use the EncodeUrl() function in parameter values).

 

Cheers,

Tiago Simões

Just a small comment regarding multi-tenancy in Entities: you don't need to have the eSpace as Multi-Tenant to have the entities behave like i), you simply need to mark the entity itself as being multi-tenant.

 

If you leave the entity with the default behavior, then you get ii). If you mark it as being multi-tenant, then you get i).

 

Check these links for more details: 

- http://www.outsystems.com/help/ServiceStudio/4.2/Using_Data/Advanced_Tab.htm

- http://www.outsystems.com/help/ServiceStudio/4.2/Multi-tenant_eSpaces/About_Multi-Tenant_Entities.htm

 

This can be useful e.g. in a common entity logging activity, where it is interesting to filter by activity in a given eSpace.