Dear all,
I want to create temporary navigation link for component usage A in the 'ViewContainerUIElement'.The 'ViewContainerUIElement' is in the View B.
I've used the following method to create temporary navigation link for View B in View C.
But the same way to create temporary navigation link for component usage A failed.
View B has been created temporary navigation link in View C, but usage component A was failed to create temporary navigation link in View B.
Can someone help me and give some suggestion?
Thanks in advance for your answers!
"The method of successfully to create temporary navigation link for View B in View C.
data: lo_view_controller_api type ref to if_wd_view_controller.
lo_view_controller_api = wd_this->wd_get_api( ).
Try.
lo_view_controller_api->prepare_dynamic_navigation(
source_window_name = 'W_DOCNO'
source_vusage_name = 'COMM_USAGE_1'
source_plug_name = 'TOVIEW'
target_view_name = 'VIEW'
target_plug_name = 'DEFAULT'
target_embedding_position = 'COMM/VIEW_AREA' ).
CATCH cx_root into lo_root.
msgtxt = cx_root->get_text( ).
ENDTRY.
" When I use the same method as above, it's failed. The WD COMPONENT 'COMM' can be activated, but
" usage component A can not be shown in View B.
data:lo_view_controller_api type ref to if_wd_view_controller.
lo_view_controller_api = wd_this->wd_get_api( ).
Try.
lo_view_controller_api->prepare_dynamic_navigation(
source_window_name = 'W_VIEW'
source_vusage_name = 'W_UPLOAD_USAGE_1'
source_plug_name = 'TOATTA'
target_component_usage = 'ATTA'
target_view_name = 'UPLOAD'
target_plug_name = 'DEFAULT'
target_embedding_position = 'VIEW/VC_ATTA' ).
CATCH cx_root into lo_root.
msgtxt = cx_root->get_text( ).
ENDTRY.
Request clarification before answering.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.