I'm working on a project where there is a solution that allows users to click on the context menu for an item, and it will generate a link to the item. This solution also has an event receiver that creates a unique ID for the item. After upgrading to SharePoint 2013, we are going to take advantage using the Document Center features, and move away from the current solution.
My idea was to parse the url using a custom search query rule (regex), and passing this value to search.
here is a sample of the bookmarked Url:
http://intranet/Pages/UniqueIDSearch.aspx?k=UniqueObjectID:09002f7780053af3
I have created a managed property that maps to the Unique Object Id field (Legacy Item Id) The query rule is using the regex feature, and the regex value is
^UniqueObjectId:\d{16}
To display the results, I have customized a display template, and added the value for the managed property.
The regex rule is failing to return any results, even though there are items with that value. If I manually search for the Unique Object Id, I will get a value returned.
Going forward is this the best solution?