'

MKP I-Groups Reload

I-Group data can be reloaded easily using the reload modifier as shown here:

mkp_igroups verbose reload list

.

Using the “verbose” modifier will cause the diagnostic data to be written to the log. You must include an action verb like “list” to render the list, but the data will be updated regardless.
Note without specifying a collection type (region, area, community), the data will be reloaded, but no further action will be taken.

It is a good practice to clear the log file first. This code will do that for you:

mkp_base clear_diagnostics
mkp_igroups verbose reload show_diagnostics

.

If you want to see the results of any action, this simple code will show all diagnostics and clear the file:

mkp_base show_diagnostics clear_diagnostics

.


Output: