Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Get unproxied instances of pages and blocks

Vote:
 

I`m trying to get hold of the real instances beneath the proxy instances when handling blocks and pages.

I`ve tried UtilProxy.GetUnproxiedInstance(proxyBlock) but that did not work.

How can I access the real instance?

#208461
Edited, Oct 24, 2019 14:15
Vote:
 

Maybe 

proxyBlock.GetOriginalType()

will give you what you need?

#208473
Oct 24, 2019 15:57
Marcus Utter - Oct 24, 2019 16:05
@Jeroen I can get the type so that's not my problem. I need to get the instance.
Vote:
 

What are you trying to achieve?

#208489
Oct 24, 2019 21:22
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.