Sign up
Log in
My Platform
Tools
Tools
Go back
Downloads
IPP
Licensing
Learn
Learn
Go back
Training
Welcome
Guided Paths
Training Planner
Courses
Tech Talks
Classroom
Certifications
Documentation
Overview
OutSystems 11
Best Practices
How-to Guides
Community
Community
Go back
Home
Jobs
Forums
Forge
Ideas
Members
Badges
Support
OutSystems.com
Sign up
Log in
Community
›
Ideas
›
Remove all unused references
Advanced Search
1
Follower
382
Likes
Remove all unused references
Hugo Matthioli
Hugo Matthioli
Senior Manager
at
PwC Portugal
+ 1
#26 499
in Community Rank
Service Studio
Implemented
on 06 Jul 2016
OutSystems 9.1
It would be nice to have a button, in ServiceStudio, to remove all unused references in an eSpace, or a list of unused references which we could then remove.
Created on 20 May 2010
Comments (56
)
J.
20 May 2010
J.
MVP
Outsystem MVP, Outsystems Expert developer, Senior consultant
at
CoolProfs
+ 14
#14
in Community Rank
unused variables, actions, screens etc..
- -
21 May 2010
- -
at
+ 2
#30
in Community Rank
If this feature is to be implemented, please prompt the user with a list of items to be removed and have the user confirm remove action, before proceeding.
Fernando Sousa
21 May 2010
Fernando Sousa
at
WeDo Technologies
+ 1
#1 605
in Community Rank
I agree with a unused elements report being generated, but the user must confirm wether or not to remove those elements.
Hermínio Mira
21 May 2010
Hermínio Mira
at
+ 5
#359
in Community Rank
Nice one, controling what is to be removed through checkboxes would be great.
Evert van der Zalm
27 May 2010
Evert van der Zalm
MVP
at
CoolProfs
+ 11
#163
in Community Rank
Would really like these one.
Perhaps also could use it for referenced action with aren't uesd?
Carolina Bessa
28 May 2010
Carolina Bessa
OutSystems Developer
at
DB Schenker (NL)
+ 3
#679
in Community Rank
The same as there is the option to do Find & Replace Usage for user actions, should have it for Referenced actions.
Guilherme Jesus
11 Jan 2012
Guilherme Jesus
Techlead and team leader
at
Datalynx
+ 9
#1 188
in Community Rank
good feature for a cleaning code
Daniel Martins
21 Aug 2013
Daniel Martins
Solution Architect
at
OutSystems
+ 12
#66
in Community Rank
Code cleaning, it's not always a easy task.
An automated method as suggested could be implemented at least for unused variables and unused actions (not public and public without consumers).
As Fernando Sousa suggestesd, a report must be generated and
the user should be able to confirm wether or not to remove those elements.
Tiago Gafeira
1 Feb 2013
Tiago Gafeira
Champion
Head of Technology
at
Do iT Lean
+ 5
#336
in Community Rank
It would be nice to have a functionality in Service Center to remove all unused references from an eSpace.
It would be awesome to have that in Service Center.
Very useful in large factories.
Merged from
'Remove all unused references from an eSpace' (idea created on 2013-02-01 10:03:01 by Tiago Gafeira)
, on 2014-01-24 11:57:34 by Gonçalo Borrêga
Tiago Santos
1 Feb 2013
Tiago Santos
at
+ 1
#48 963
in Community Rank
Same idea was placed at https://www.outsystems.com/ideas/167/remove-all-unused-references/
Merged from
'Remove all unused references from an eSpace' (idea created on 2013-02-01 10:03:01 by Tiago Gafeira)
, on 2014-01-24 11:57:34 by Gonçalo Borrêga
Gonçalo Borrêga
24 Jan 2014
Gonçalo Borrêga
Sr. Director, Product Management
at
OutSystems
+ 3
#0
in Community Rank
Merged this idea with
'Generate warnings for unused eSpace elements' (created on 2012-07-06 10:08:26 by Fernando Sousa)
Fernando Sousa
6 Jul 2012
Fernando Sousa
at
WeDo Technologies
+ 1
#1 605
in Community Rank
Just like warnings are generated for parameters that are not used in queries, Service Studio should generate warnings for other unused elements, like actions, variables, structures, references, etc., provided that elements are not public.
This would help developers to identify potential problems (e.g.: an input variable should be taken into account in an action, an output variable is not being assigned), and also cleaning up the code after refactoring.
Who knows, you might save some software units?
Merged from
'Generate warnings for unused eSpace elements' (idea created on 2012-07-06 10:08:26 by Fernando Sousa)
, on 2014-01-24 12:39:09 by Gonçalo Borrêga
Justin James
14 Jul 2012
Justin James
MVP
Chief Architect
at
+ 12
#7
in Community Rank
I kept meaning to post something like this, great post.
I have save so many SUs just trimming out unused stuff it isn't funny...
J.Ja
Merged from
'Generate warnings for unused eSpace elements' (idea created on 2012-07-06 10:08:26 by Fernando Sousa)
, on 2014-01-24 12:39:09 by Gonçalo Borrêga
Tiago Bernardo
29 Dec 2014
Tiago Bernardo
Champion
Software Engineer | OutSystems Consultant
at
Creetion
+ 7
#184
in Community Rank
One thing I see with new developers not familiarized with the platform (and programming in general) is the use of the ("excellent") technique of copy/paste of flows and then deleting the unwanted elements. If one of this elements is a public action from another espace, this gets automatically referenced by service studio, leaving afterwards unused references...
Pramod Jain
9 Apr 2015
Pramod Jain
MVP
Outsystems MVP- Head of Delivery India
at
DOITLEAN
+ 14
#50
in Community Rank
Agreed with Tiago , we are working on a big project and it has multiple espaces and just because of the copy paste of actions the espcae gets automatically refrenced in other espace.
some times it leads to cyclic refrence between the espaces.
Evert van der Zalm
10 Apr 2015
Evert van der Zalm
MVP
at
CoolProfs
+ 11
#163
in Community Rank
Hello,
Because of the Copy/paste it would only be nicer if we could remove all not used references (-:
Kind regards,
Evert
Caio Santana Magalhães
7 Jan 2016
Caio Santana Magalhães
MVP
OutSystems Consultant
at
Digital Alchimia
+ 7
#22
in Community Rank
We need this!
Fabio Rodriguez
6 Apr 2016
Fabio Rodriguez
at
WEBB
#51 638
in Community Rank
unused variables, actions, screens etc..
Tiago Neves
23 May 2016
Tiago Neves
Director
at
OutSprint
+ 6
#170
in Community Rank
This is now WIP!!!
Justin James
23 May 2016
Justin James
MVP
Chief Architect
at
+ 12
#7
in Community Rank
Hooray!
J.Ja
Pramod Jain
23 May 2016
Pramod Jain
MVP
Outsystems MVP- Head of Delivery India
at
DOITLEAN
+ 14
#50
in Community Rank
Longly awaited....:)
Pedro Coelho
7 Jun 2016
Pedro Coelho
MVP
Outsystems Team Leader
at
Truewind
+ 17
#35
in Community Rank
It's now available in the Development Environment 9.0.1.65 -
https://www.outsystems.com/home/downloadsdetail/88/1756/
Best regards,
PC
Pedro Coelho
7 Jun 2016
Pedro Coelho
MVP
Outsystems Team Leader
at
Truewind
+ 17
#35
in Community Rank
Unfortunatly it does
NOT
prompt you for what to delete, just deletes everything...
Best regards,
PC
Cátia Oliveira
16 Jun 2016
Cátia Oliveira
Senior IT Consultant
at
Novabase
#0
in Community Rank
Ok... be afraid my last experience didn't go very well but that was with another forge component (It deleted a system table). But I will go see, just see ;)
Vasco Pessanha
6 Jul 2016
Vasco Pessanha
IDE Product Owner
at
OutSystems
+ 3
#114
in Community Rank
Hi guys,
First of all
thanks for your feedback
, it's so helpful that you share these ideas so that we can understand what is important and what we can do to improve our product.
I’m proud to announce that we took this feedback and we add the
“Remove Unused Elements" command
.
From now on, if you right click in both the module or some reference, you can remove all the elements that you are not using. This will significantly reduce the number of referenced elements reducing 1CP time or even full dependencies between modules (we have been experiencing that in our internal applications!!)
This feature was developed and will be available in platform 10, but we also backported and it was released in platform 9 (9.1.0.65) and platform 8 (8.0.1.65).
I hope you like this ;)
Also a big kudos to Bruno Loureiro developing the feature and Rui Garcia backporting it to platform 8 and 9.
Cheers,
Vasco Pessanha
Vasco Pessanha
6 Jul 2016
Vasco Pessanha
IDE Product Owner
at
OutSystems
+ 3
#114
in Community Rank
By the way, we are also working in having warnings when you have unused actions, variables, inputs, etc!!
Cheers,
Vasco Pessanha
Pramod Jain
6 Jul 2016
Pramod Jain
MVP
Outsystems MVP- Head of Delivery India
at
DOITLEAN
+ 14
#50
in Community Rank
Great Job..
Regards
-PJ-
Carlos Henriques
6 Jul 2016
Carlos Henriques
Manager
at
Becker Professional Education
+ 5
#93
in Community Rank
Hi Vasco,
Is it only available in version 9.1.0.65 or also any higher version?
I'm using version 9.1.400 and can't find this feature :(
Pedro Coelho
6 Jul 2016
Pedro Coelho
MVP
Outsystems Team Leader
at
Truewind
+ 17
#35
in Community Rank
I'm sure it's a typo, as I said a month ago it's released on the
9.0.1.65
Vasco Pessanha
6 Jul 2016
Vasco Pessanha
IDE Product Owner
at
OutSystems
+ 3
#114
in Community Rank
Sorry guys, indeed a typo!
It was released in both 9.0.1.65 and 9.1.501.0 versions.
Cheers,
Vasco Pessanha
Carlos Henriques
6 Jul 2016
Carlos Henriques
Manager
at
Becker Professional Education
+ 5
#93
in Community Rank
Thanks. I'll wait for version 9.1.501 then :)
Evert van der Zalm
8 Jul 2016
Evert van der Zalm
MVP
at
CoolProfs
+ 11
#163
in Community Rank
Jeah, great job!
Johan den Ouden
8 Jul 2016
Johan den Ouden
MVP
Principal OutSystems Consultant and Trainer
at
+ 12
#33
in Community Rank
Woehoe, yes! Well done.
'+alert(1)+' lowercvse
13 Jul 2016
'+alert(1)+' lowercvse
Developer
at
H1test
#63 367
in Community Rank
test #">
'+alert(1)+' lowercvse
13 Jul 2016
'+alert(1)+' lowercvse
Developer
at
H1test
#63 367
in Community Rank
'><img src=x onmouseover=alert(1)>
'+alert(1)+' lowercvse
13 Jul 2016
'+alert(1)+' lowercvse
Developer
at
H1test
#63 367
in Community Rank
<img src=x onmouseover=alert(1)>
</script><h1>wtf da
13 Jul 2016
</script><h1>wtf da
at
#84 664
in Community Rank
sdasdada
'+alert(1)+' lowercvse
13 Jul 2016
'+alert(1)+' lowercvse
Developer
at
H1test
#63 367
in Community Rank
<img src=x onmouseover=alert(1)>
Luis Dinis
18 Jul 2016
Luis Dinis
Senior Outsystems Developer
at
+ 3
#1 254
in Community Rank
And for older versions ? we can do the same? can you share with us the code?
Vasco Pessanha
18 Jul 2016
Vasco Pessanha
IDE Product Owner
at
OutSystems
+ 3
#114
in Community Rank