Re: Convert String to Repo Element
Posted: Tue Dec 13, 2016 7:41 pm
Ok, I still haven't figured out how to search by the object's full name, but I found what can only be considered black magic over at stackoverflow that seems to work for us.
I just straight up lifted their code and I only have the vaguest idea how it works (as designated by the class name 'Idontevenknow'). The C# notation here is beyond my experience, so I'm not going to really walk you through the lambda stuff.
Rather than trying to explain any of this I've just attached my sample solution. I think this type of thing could be useful to a lot of people. Hopefully others from the community might be able to expand upon this or streamline it somehow.
Good luck and let me know if this solves your problem.
I just straight up lifted their code and I only have the vaguest idea how it works (as designated by the class name 'Idontevenknow'). The C# notation here is beyond my experience, so I'm not going to really walk you through the lambda stuff.
Rather than trying to explain any of this I've just attached my sample solution. I think this type of thing could be useful to a lot of people. Hopefully others from the community might be able to expand upon this or streamline it somehow.
Good luck and let me know if this solves your problem.