Developer forum

Forum » Development » Execution.Add in custom Module

Execution.Add in custom Module

Marco Santos
Reply
Hello.

I'm trying to use the PageView Execution.Add method to look into some ways to boost performance in our module, but nothing is being printed out when it is run (for the Execution.Add messages I create, all the other info is sent). I am just creating a new PageView and calling Load on it in my class, but I get the feeling that what I really have to do is obtained it from somehere rather than create a new instance. Can you point me in the right direction?

Thanks.

Marco


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer
Yes.

You need to use PageView.Current to get the instance running currently.
Votes for this answer: 0
 
Marco Santos
Reply
That works. Thanks!

 

You must be logged in to post in the forum