Skip to main content
Open

Disable parameters / columns by default for concepts (layouts, contexts, defaults)

Related products:Software Factory
Ester
Robert Jan de Nie
Dennis van Leeuwen
eurban
+9
  • Ester
    Ester
  • Robert Jan de Nie
    Robert Jan de Nie
  • Dennis van Leeuwen
    Dennis van Leeuwen
  • René W
  • eurban
    eurban
  • Erwin Ekkel
  • Rony
  • Freddy
    Freddy
  • Roy van Uffelen
  • Arie V
    Arie V
  • g.c.d.vanderschoot
  • Jan Egbert Muurman
  • Suleyman
  • Anne Vries

In the SF I would like to have the checkboxes under Subjects > Columns > Columns disabled (unchecked). In general when I want to create a default, layout or context I create this only for a limited set of parameters. Parameters that are not used, should not be there. By default all is checked, so all parameters are passed (and are affecting performance).

 

Did this topic help you find an answer to your question?

9 replies

Jasper
Superhero
  • 678 replies
  • October 28, 2020
Updated idea status NewOpen

Forum|alt.badge.img+5

Great idea René.

This also prevents that program objects result in errors because you have added a (calculated) column and forgot to deploy the functions.

In line with this, I would also like to be able to enable/disable these parameters from within the Functionality. Either from the Assigning-tab or the Result-tab. Both show the program object and thus must be easily extendable to show them.


Forum|alt.badge.img+17
  • Moderator
  • 766 replies
  • July 9, 2021

I would like add to this idea by making this a configuration setting instead. For smaller applications or less-experienced SF users it makes more sense to have all columns/parameters at their disposal. For the larger applications and the more experienced users it makes sense to not activate these by default. 

 


Robert Jan de Nie
Thinkwise blogger
Forum|alt.badge.img+5

Why not automate it? Based on the code-templates it could be figured out what parameters are required to be passed to the default/layout/context procedure. This way you don’t have to worry about it and you also don’t have too many values passed trough to the procedure.

Heck, if you write some smart regex you can probably do this already via dynamic model.


Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • 1030 replies
  • January 3, 2022

@Robert Jan de Nie We actually took on your suggestion and had a Thinkwise consultant on our project create such a Dynamic model procedure. Would it be of added value to have that script added to the ThinkStore?


  • 82 replies
  • January 28, 2022

@Robert Jan de Nie , @Arie V ,

Having this in place would, I suppose, greatly improve the ability to do an impact analysis on code; after all, you won't have to account for layouts, defaults and contexts if non of the impacted columns are used in their interfaces.


Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • 1030 replies
  • January 28, 2022

@Boudewijn what kind of impact analysis are you suggesting? Nr of code lines / performance impact / …?


  • 82 replies
  • January 28, 2022

@Arie V impact of removing/replacing/renaming columns. Code search gives some insight in whether a string with the same characters is used somewhere, but not whether it is the actual same object that is being referenced.

For example, if you are splitting ‘customer.address’ into seperate fields, having mentions of `address` (or ‘[enitity_address]`...) in templates in code search results does not help a lot.

If you, in that case, exclude all application logic that does not have `address` in the generated parameters, the leftovers will use the actual field instead of a coincidental identical string of characters.


Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • 1030 replies
  • January 28, 2022

@Boudewijn Understood, it saves you the ‘false positives’ in the Code search, so to speak. That's indeed another benefit of implementing this Idea!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings