cancel
Showing results for 
Search instead for 
Did you mean: 

I think that this is a complicated problem

guilherme_souza
Champ in-the-making
Champ in-the-making
Hi, I'm customizing my Alfreso Share and I've created a new aspect with my own properties, and one of these properties stores a string value containing a proccess number. I've setted string because a proccess number can have special characters, for example: "Proccess Number: 45.781.15-456/45". The user can search for your folder using this proccess number in the advanced search, but I want that if the user enter the proccess number without these special characters the search returns the same result, for example: The Proccess Number is 45.781.15-456/45, if the user enter 457811545645 he gets the same result.

I've thinked in create another property that will store the proccess number without the special characters, and the search method will search in both properties. I've created a function that remove all these special characters, but my trouble is How I call this function? I have to call the function in the 'Edit Metadata' method. I also need to know How to configure the search in more than one property.

Any help is welcome.

Thank you.
1 REPLY 1

mrogers
Star Contributor
Star Contributor
It sounds like you are causing yourself problems.

Store the process number as a process number.   Then you can search on it.

Then consider what the process number + extension is.  

Then when your data model is clear you can work out how to handle derived data.