171
Views
24
Comments
Solved
how to access site properties in outsystems

how to access site properties in outsystems

Solution

sorry the process is backwards, stupidly and the forum has placed the ordering of the images in opposition to the one I submitted, but they are numbered well.


4)


3)


2)


1)

Hi,

You can access them or in the service studio, in the Tab da Data (next to Logic, in the upper right corner), and then you have a folder with the site properties. Or in the service center, enter the module where you have the site properties and there you have a tab saying site properties.

Please check this additional info:

Cheers

Rank: #105

Hi,

In you service studio is under de data layer:


You can do it via Service center. Access your module and then go to Site properties tab:


Hope this can help.


Best regards,

Ricardo M Pereira



More info:

In Service Studio



Change the value of a Site Property in Service Center

  1. Open the Service Center in your environment (http://<environment>/ServiceCenter) and login with your credentials.
  2. In the Factory tab, select Applications and filter by the name of your application.
  3. Select the module in which the Site Properties are stored.
  4. Click on the Site Properties tab and select the Site Property whose value you want to change.
  5. Change the Effective Value of the Site Property and click Apply.

Remember that in the Service Center you have two values for the same property. One of them is the Default Value, which is the value you have on the side of the Service Studio, and you have the Effective Value, which is the value you place in the Service Center, and it is the one that predominates, whatever the value you have on the side from the service studio. If you have no value on the side of the service center (effective value), then the site property assumes the value of the service studio.


Cheers

Rank: #5065

I have already created SiteProperty variable, but the issue is now I need to assign this S.P variable to my InputParameter type variable.

Rank: #105

Hi,


you can go to Site variables:


Hope this can help.


Best regards,

Ricardo M Pereira

Attention if you are working on Mobile or Reactive, you only have access to the site properties on the server side. You don't have access to the Client Side, just like on screens. If this is the case you will have to use Client Variables instead of site properties


Rank: #205

Vivek verma wrote:

how to access site properties in outsystems

What app are you creating? Reactive, Mobile, traditional?

What the issue you found or didn't manage to do it?

A little more context will help us all to give you a better answer to your problem


Hello Vivek verma


In all the above comments, tells you where to access your site properties than its fine 

but if you want to access site properties one module to another module then it's not possible to add references for the site properties, so for this, you can create the server actions as public  and make site property as output, then you can add this server action as a reference in consumer module,

i hope this helps you 

cheers

You can access them or in the service studio, in the Tab da Data (next to Logic, in the upper right corner), and then you have a folder with the site properties. Or in the service center, enter the module where you have the site properties and there you have a tab saying site properties.


Attention if you are working on Mobile or Reactive, you only have access to the site properties on the server side. You don't have access to the Client Side, just like on screens. If this is the case you will have to use Client Variables instead of site properties

Rank: #5065

I want to use S.P variable(1 img) in here (2 img)


First of all:

You are working on:

  • Reactive
  • Mobile
  • Web Traditional?

If you're in server side, you just need do it:

So as I told you, if you want to assign a site property to a client action or a screen variable, you will not be able to, you will have to use a Client Variable, as I explained above. If you still have to reactive but want to assign it to a server action, you only have to do what I show in the image from the previous post.

Server Action screenshot from a reactive app:

Attention if you are working on Mobile or Reactive, you only have access to the site properties on the server side. You don't have access to the Client Side, just like on screens. If this is the case you will have to use Client Variables instead of site properties



You can also design another solution with a site property and a Client Variable.


You create both, you control the Site Property.


You create a server action to fetch the value of the site property


You create a Client Action to sign the value of Site Property to Client Variable.


And you can now use Client Variable wherever you want, and control the site property normally, as you do in Web Traditional

Solution

sorry the process is backwards, stupidly and the forum has placed the ordering of the images in opposition to the one I submitted, but they are numbered well.


4)


3)


2)


1)