Topic
2 replies Latest Post - ‏2013-01-02T23:22:18Z by afarris7
afarris7
afarris7
61 Posts
ACCEPTED ANSWER

Pinned topic remove orphan Profile entries

‏2013-01-02T22:28:21Z |
I am looking through my list of profile entries for a certain Profile Set. It seems over the time of the dev process I had added many entries for troubleshooting etc. It seems there are many entries that are not being used. Is there an easy way for removing all these entries that are not in use?

Do I need to go one by one and see if its being used in my project?

Thanks
Updated on 2013-01-02T23:22:18Z at 2013-01-02T23:22:18Z by afarris7
  • kevintap
    kevintap
    745 Posts
    ACCEPTED ANSWER

    Re: remove orphan Profile entries

    ‏2013-01-02T23:19:07Z  in response to afarris7
    Unfortunately, I'm not sure that there's any linking/cross-referencing in the Designer that allows you to see where a specific profile entry is used or referenced in your project. The best that I could suggest here is a grep/search of the .model files in your project. You could search for the following pattern:

    you can use this to find the references to a specific profile entry:

    
    grep 
    'profile=\"profile_set_name:profile_entry\"'
    


    or this to see all the references to a particular profile set:

    
    grep 
    'profile=\"profile_set_name:'
    
  • afarris7
    afarris7
    61 Posts
    ACCEPTED ANSWER

    Re: remove orphan Profile entries

    ‏2013-01-02T23:22:18Z  in response to afarris7
    Thanks, I will try.