cancel
Showing results for 
Search instead for 
Did you mean: 

reload button

Former Member
0 Kudos

Hello gurus,

I need to add button to my application that will clear application's context. So it's behavior should looks like 'New' button.

There is suggestion to simulate application's link pushing in EP: lr_port_manager->navigate_relative. But it doesn't work, because if I even click link directly (by hand) it opens application with data entered before.

Any ideas?

Kirill

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kirill,

If you are only looking for Context clearing, why dont you extract it into local variables using CODE WIZARD and clear these local variables and reset the context ?

Else, you can even try ABSOLUTE NAVIGATION which reloads the application freshly.

Regards

<i><b>Raja Sekhar</b></i>

Former Member
0 Kudos

Hello Raja,

Thank you for replay... But, is there other way to clear context, rather than clear each context variable?

Kirill.

Former Member
0 Kudos

Hi Kirill,

I think there should be some way of recalling the application without doing any PORTAL NAVIGATION and clearing the context, which we are not aware of...I wish I knew it, but I too didnt have much time in my last project and I refreshed the application using the ABSOLUTE NAVIGATION recalling the same application for a similar requirement.

Will check that out in my free time and let u know if I find something.

Good Day !!!

Regards

<i><b>Raja Sekhar</b></i>

Former Member
0 Kudos

Hello, Raja

Thank you!

Regards,

Kirill

Former Member
0 Kudos

Hello, Raja

By the way, what is the easiest way to assemble navigation_target parameter in navigate_absolute method, that will point to the current iview.

Thank you in advance!

Former Member
0 Kudos

Hi Kirill,

I copied the PCD location from the Portal and used for my navigation. In fact I made sure that the content is published in the same location in all three portals(DEC,QA,PRD) to avoid change in PCD Location.

Regards

<i><b>Raja Sekhar</b></i>

Former Member
0 Kudos

Hello Raja,

Thank you for replay... If you interested, I have found out the way to clear context:

wd_context->invalidate( ).

Regards,

Kirill.

Former Member
0 Kudos

Hey,

Thanks for the info.

This should be useful for many helpful pple like us in need.

Regards

<i><b>Raja Sekhar</b></i>

Answers (0)