Sunday, January 29, 2023

Search for an object in F&O VS Projects Folder

 Sometimes F&O Developers may want to find the Projects in which a particular element was referred.

For example, a MenuItem/Table/Data Entity element that was not checked into the Azure DevOps source control and the original developer is not reachable immediately. 

Then this tip may come in handy...



In this case, I am trying to find the Projects where the custom view "ST5CustDeliveryAddressView" is referred.


My Projects root folder:




Search for the custom view "ST5CustDeliveryAddressView", but no results.



No luck even after selecting the "File contents" in Windows


 

Here is the solution:

Extension for F&O Visual Studio Project file is "rnrproj":




In Windows Explorer, navigate to F&O VS Projects root folder -> Search -> Advanced Options -> Change Indexed Locations

1. Click Modify 

2. add F&O VS Project folder to the existing list of Indexed Locations.





You could open "Indexing Options" tool from the Windows search bar too.


3. Click the Advanced button -> Advanced options dialog -> tab File Types -> 

4. In the text box for "Add new extension to list", key-in rnrproj and click Add


5. Enable "Index Properties and File Contents 

6. Click OK -> Close "Indexing Options" tool

7. Wait for a min, so windows can index the Projects directory

8. Now search for the object/element and you will see the Projects that refer to the element.




Happy Coding.





No comments:

Post a Comment