Make All Structure Attributes Public
1548
Views
20
Comments
On our RadarOn our Radar
Backend

On large structures it would be useful to have a function to set all attributes to Public

2016-04-21 20-09-55
J.
 
MVP

I am not sure what you mean, you mean nested structures?


Hi J. sorry about the previous response it should read.

When I have created large 'nested' structures (sometime from JSON) I need to go through and set the levels as Public, it would be useful if there was a function to do this. I have structures with over 600 attributes so it has been painful to go through and set them.

I would love this. Just it is not for attributes, but for structures. My use case of this usually is when you importing big schema from SOAP service WSDL. It is generating lot of structures (e.g. 300) and if you would like to use these structures in another module, you should share them, so to make them public. To do this, you need to go through all structures one by one and change 'Public' attribute to 'Yes'. 300 structures taking about 20 minutes to make them public. 

Would be grate for example to select all structures and make them public at once. 

Merged this idea with 'Make child structures as public.' (created on 09 Oct 2018 15:42:35 by Ramakrushnarao Seera)

Hi Everyone,

Is there any problem to make automatically makes child structures to be public whenever we do are making parent structure as public.

Here is the case 

A

    B 

    C


A is parent Structure and B,C are  Direct child's to A. assume now B,C, A have public property as "no"


So when i try to make  A structure as public , Service studio through's error saying to make B,C as public.  in order to re solve the errors and making A as public.


Assume where we have more n more child structures. then it will take quite amount of time to make all of them as public.


If there is no critical problem to develop this. Please consider this idea. If not provide a alternative way.


Thanks,

Ramakrushna Rao Seera


This would help in scenarios where you have many child structures.

Hi,

As an easy workaround for your idea, you can select multiple (or all structures) and change the public property for all at once.

Regards,

Daniel

2016-04-21 20-09-55
J.
 
MVP

I prefer Daniels approach, because you might want to reconsider setting structures to public or not.

You don't want to expose too much data by default.

Some one can tell me, What i need to do after selecting multiple structures to make all of them as public. Since once i select structures and clicking right mouse button nothing is happening. 

Ramakrush,
After selecting multiple structures take a look at the detail screen at the bottom right. It should have the option to set all selected elements to public (just make sure you only select the structures not any attributes)

I believe Ramakrushna's idea is very valuable. If I need a certain structure to be Public and it has dependencies, then I have to go through a list of all those dependencies and make them Public. It would be much easier to automatically cascade this effect whenever they are needed.

At least we could be given the option to do this. Something like "Mark child nodes as public" while keeping the option to do the same thing by hand.

2014-02-07 17-02-43
Vasco Pessanha
Changed the category to
Service Studio
and the status to
Not right now

Hey Ramakrushna,

Thanks for your idea!

Currently we don't have plans to do this (for now you have the workaround of bulk setting the structures to public/private).

Cheers,

2014-02-07 17-02-43
Vasco Pessanha
Merged this idea with 'Parent Structure public, make child's public' (created on 28 Jan 2019 14:32:02 by Romero)

Instead of the usual warning when we set one structure to public that happens to have more structures inside that are not set to public yet, would be a nice new feature when changing the "Parent" structure to public we could get a warning like "Are you sure? This will make all dependent structures public as well" and apply or not. It's not that much significant effort but still a time consuming task (depending on the complexity of the structures) and would save some minutes at least that sometimes can be very valuable.




This comment was:
- originally posted on idea 'Parent Structure public, make child's public' (created on 28 Jan 2019 by Romero)
- merged to idea 'Make child structures as public.' on 28 Jan 2019 15:11:12 by Vasco Pessanha
Merged this idea with 'mark structures as public recursively' (created on 27 Aug 2020 12:29:59 by Ana Lírio)

mark structures as public recursively, meaning

if a structure contains another structures and is marked as a public structure all its contained structures should be marked as public as well.



This comment was:
- originally posted on idea 'mark structures as public recursively' (created on 27 Aug 2020 by Ana Lírio)
- merged to idea 'Make child structures as public.' on 29 Aug 2020 06:56:53 by Daniël Kuhlmann

+1



This comment was:
- originally posted on idea 'mark structures as public recursively' (created on 27 Aug 2020 by Ana Lírio)
- merged to idea 'Make child structures as public.' on 29 Aug 2020 06:56:53 by Daniël Kuhlmann
Merged this idea with 'Cascading Structure Scope' (created on 29 Nov 2021 08:36:42 by BPT)

Hi there,

For the sake of time efficiency, would OS provide a menu, just to make the structure scope is cascaded to its children. What i mean can be read in this forum thread:

https://www.outsystems.com/forums/discussion/74723/why-the-structure-scope-is-not-cascaded/ 

best regards and thanks