- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
08-03-2017 06:54 AM
With Pan Configurator service-edit.php if I want to delete unused objects is it possible to set a count limit? For exampel I dont want to do all 500 at one time unt say 100 at a time. Look to see if there is a string like "maxcount' to end comman below.
" php address-edit.php in=2473.xml out=/dev/null actions=delete 'filter=( object is.unused)'
08-03-2017 01:08 PM - edited 08-03-2017 01:12 PM
if you like to do a demo then save your changes in another "offline" file and show this.
There is no need to do a demo on a production system.
1) pa_address-edit in=[INPUT.txt] out=[OUTPUT.txt] actions=delete 'filter=(object is.unused)'
2) pa_address-edit in=[OUTPUT.txt] out=/dev/null actions=display 'filter=(object is.unused)'
[output can be empty or as mentioned above you must run " actions=delete 'filter=(object is.unused)' " twice or more often - depending on the configuration file]
08-03-2017 12:59 PM - edited 08-03-2017 01:04 PM
there is right now no flag/counter available.
Please also remind the following:
If an addressgroup object is unused and deleted with this script, there could be still address objects available which must be deleted with a second run of the same command.
What is the need behind your request?
BTW: address-edit.php and service-edit.php are very similiar
08-03-2017 01:03 PM
Just doing some unused object cleanup as as a start I was looking to just doa handful of deletes just as a POC to leadership team as a demo bit if all or nothing thats fine as well. Was just wondering if feature was a avail. For example service-merger.php has a "mergecountlimit" paramter and was wondering id service-edit had similiar
08-03-2017 01:08 PM - edited 08-03-2017 01:12 PM
if you like to do a demo then save your changes in another "offline" file and show this.
There is no need to do a demo on a production system.
1) pa_address-edit in=[INPUT.txt] out=[OUTPUT.txt] actions=delete 'filter=(object is.unused)'
2) pa_address-edit in=[OUTPUT.txt] out=/dev/null actions=display 'filter=(object is.unused)'
[output can be empty or as mentioned above you must run " actions=delete 'filter=(object is.unused)' " twice or more often - depending on the configuration file]
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!