Problem in launching a url when UWL Item is clicked
Hi,
I am developing a custom UWL connector which will fetch items from 3rd party system. Whenever I clicked on any of the item in the task list, It should open a url (value fetched from 3rd system which is dynamic).
I tried putting the action tag in uwl_xxxconfiguration.xml with
Action name="showDetails" handler="UrlLauncher" launchInNewWindow="yes">
<Properties>
<Property name="url" value="${item.executionUrl}"/>
</Properties>
<Descriptions default="Show Details"/>
</Action>
before that I am setting the executionUrl value in uwlItem.setExecutionUrl("www.google.com") in getItems methods.
After configuring the connector to the portal, when I click on the items, it is launching the details view of the item rather than google. Please help me on this issue.
Thanks,
Gobi
Found the workaround in .xml only by removing the action of DefaultAction and incorporated my action for different tasks. Here is the code snippet for xml
<ItemType name="uwl.task.mytask" connector="TestUWLConnector" defaultView="DefaultView" defaultAction="launchApp" executionMode="default">
<Actions>
<Action name="launchApp" groupAction="" handler="UrlLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes">
<Properties>
<Property name="url" value="${item.executionUrl}"/>
</Properties>
<Descriptions default="Go To Application"/>
</Action>
</Actions>
</ItemType>
<ItemType name="uwl" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="viewDetail" executionMode="default">
<Actions>
<Action reference="viewDetail"/>
<Action reference="viewMemos"/>
<Action reference="viewPreviewDetail"/>
<Action reference="viewSimilar"/>
<Action reference="uwlReturnToTable"/>
<Action reference="markAsRead"/>
<Action reference="markAsLaunched"/>
<Action reference="connectionstatus"/>
</Actions>
</ItemType>
Edited by: Gobinath Kasimayan on Sep 5, 2008 9:30 AM
Similar Messages
-
Opening a Portal page from UWL item's click
Hi,
I have written a custom UWL connector that connects to 3rd party system to fetch tasks.
This custom connector has been registered with UWL and tasks from this 3rd party system are now appearing in my UWL.
The requirement is to open a Portal page on click of these UWL items.
That is, when user clicks on this custom UWL item, a Portal page should be opened in new window.
I tried setting item's executionURL to following (inside getItems() method of connector) : -
1. https://myportal.com/irj/portal?navigationtarget=roles://portal_content/com.mycompanyPurchaising/com.mycompany.Purchase_Request/com.mycompany.Roles/com.mycompany.purch_pr/com.mycompany.purch_pr/com.mycompany.purchaseRequest
2. https://myportal.com/irj/portal?navigationtarget=roles://portal_content/com.mycompany.Purchaising/com.mycompany.Purchase_Request/com.mycompany.Roles/com.mycompany.purch_pr/com.mycompany.purch_pr/com.mycompany.purchaseRequest&target="_blank"
3. Set Quick link property of corresponding page and then set executionURL as: -
https://myportal.com/irj/portal/purchaserequest
Issue being faced: -
When user clicks on this UWL item, it opens following URL which just displays blank portal page: -
https://myportal.com/irj/servlet/prt/portal/prteventname/navigate/prtroot/pcd!3aportal_content!2fcom.mycompany.layout.PortalLayoutFolder!2fcom.mycompany.layout.DesktopFolder!2fmycompanyDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.mycompany.Purchaising%2Fcom.mycompany.Purchase_Request%2Fcom.mycompany.iViews%2Fcom.mycompany.purchaseRequest&CurrentWindowId=WID1326775699455&NavMode=1
Any idea what is going wrong here?
I am not able to figure out what & from where its preparing above URL instead of opening the URL that I specified in Connector's executionURL attribute.
Regards,
AmeyIssue was with iView that I was trying to open in DEV portal.
It worked fine in TEST & PROD portals.
Hence, NavigationTarget=<> approach works fine. -
Launch a URL in new tab on click of a button
Hi All,
I am currently launching a URL from R3 on click of a button on a screen. When I click on the button the second time it lauches the URL again, but opens it in a new window. I am using IE8 to open the URL's. What i wanted to know, is there any way where I can launch the URL in the same IE8 window, but in a different tab i.e. instead of opening two IE8 windows, launch one window with two tabs.
Any help would be useful.
Thanks.
Sneha.Hello sneha!
As far as I know there isn't an HTML TAG to do that. In CSS3 there is a property 'target-new' that can be used
[target-new property|http://www.w3.org/TR/css3-hyperlinks/#the-target-new]
but I'm not sure if IE8 implements this feauture.
The only easy solution I see is to configure the IE8 to open all the links in a new TAB instead of a new window.
Open IE8 then go to "Tools" menu -> "Internet options" then in the "Tabs" section click on "Settings" and Select
"When links from other programs in:" "A new tab in the current window".
You can do the same with the :
"When a pop-up is encountered" "Allways open pop-ups in a new tab".
Best Regards.
Claudio (Aparatey) -
When menu item is clicked i'm unable to call user form to my b1
hi every one,
i'm new to b1 sdk. i have written some code to handle menuevents. when an item on menu is clicked a form should open ...such that i have written some code which is shown below....but when i'm debugging ..after entering the control into createmysimpleform() it is not moving further....
plz provide me some help in this regard...
======================================================================================================
CODE
===================================================================================================
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
=============================================================================================
If (pVal.MenuUID = "SM_VID_F1") And (pVal.BeforeAction = true) Then
SBO_Application.MessageBox("Rajender")
If (pVal.MenuUID = "SM_VID_F1") And (pVal.BeforeAction = true) Then
SBO_Application.MessageBox("My first Menu was clicked")
CreateMySimpleForm() ' to call the user form for which the code is written in another sub program
End If
Else
If (pVal.MenuUID = "SM_VID13") And (pVal.BeforeAction = False) Then
SBO_Application.MessageBox("My Second Menu was clicked")
End If
End If
Private Sub CreateMySimpleForm()
Dim oItem As SAPbouiCOM.Item
'// we will use the following objects to set
'// the specific values of every item
'// we add.
'// this is the best way to do so
Dim oButton As SAPbouiCOM.Button
Dim oStaticText As SAPbouiCOM.StaticText
Dim oEditText As SAPbouiCOM.EditText
Dim oComboBox As SAPbouiCOM.ComboBox
'// add a new form
Dim oCreationParams As SAPbouiCOM.FormCreationParams
oCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
oCreationParams.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
oCreationParams.UniqueID = "MySimpleForm"
oForm = SBO_Application.Forms.AddEx(oCreationParams)
oForm.Visible = True
'// add a User Data Source to the form
oForm.DataSources.UserDataSources.Add("EditSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
oForm.DataSources.UserDataSources.Add("CombSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
'// set the form properties
oForm.Title = "Simple Form"
oForm.Left = 400
oForm.Top = 100
oForm.ClientHeight = 80
oForm.ClientWidth = 350
'// Adding Items to the form
'// and setting their properties
'// Adding an Ok button
'// We get automatic event handling for
'// the Ok and Cancel Buttons by setting
'// their UIDs to 1 and 2 respectively
oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem.Left = 6
oItem.Width = 65
oItem.Top = 51
oItem.Height = 19
oButton = oItem.Specific
oButton.Caption = "Ok"
'// Adding a Cancel button
oItem = oForm.Items.Add("2", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem.Left = 75
oItem.Width = 65
oItem.Top = 51
oItem.Height = 19
oButton = oItem.Specific
oButton.Caption = "Cancel"
'// Adding a Rectangle
oItem = oForm.Items.Add("Rect1", SAPbouiCOM.BoFormItemTypes.it_RECTANGLE)
oItem.Left = 0
oItem.Width = 344
oItem.Top = 1
oItem.Height = 49
'// Adding a Static Text item
oItem = oForm.Items.Add("StaticTxt1", SAPbouiCOM.BoFormItemTypes.it_STATIC)
oItem.Left = 7
oItem.Width = 148
oItem.Top = 8
oItem.Height = 14
oItem.LinkTo = "EditText1"
oStaticText = oItem.Specific
oStaticText.Caption = "Static Text 1"
'// Adding another Static Text item
oItem = oForm.Items.Add("StaticTxt2", SAPbouiCOM.BoFormItemTypes.it_STATIC)
oItem.Left = 7
oItem.Width = 148
oItem.Top = 24
oItem.Height = 14
oItem.LinkTo = "ComboBox1"
oStaticText = oItem.Specific
oStaticText.Caption = "Static Text 2"
'// Adding a Text Edit item
oItem = oForm.Items.Add("EditText1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oItem.Left = 157
oItem.Width = 163
oItem.Top = 8
oItem.Height = 14
oEditText = oItem.Specific
'// bind the text edit item to the defined used data source
oEditText.DataBind.SetBound(True, "", "EditSource")
oEditText.String = "Edit Text 1"
'// Adding a Combo Box item
oItem = oForm.Items.Add("ComboBox1", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
oItem.Left = 157
oItem.Width = 163
oItem.Top = 24
oItem.Height = 14
oItem.DisplayDesc = False
oComboBox = oItem.Specific
'// bind the Combo Box item to the defined used data source
oComboBox.DataBind.SetBound(True, "", "CombSource")
oComboBox.ValidValues.Add("1", "Combo Value 1")
oComboBox.ValidValues.Add("2", "Combo Value 2")
oComboBox.ValidValues.Add("3", "Combo Value 3")
'// set the form as visible
End Subhi satish, thanks for ur reply...
i have 1 more doubt...plz try to solve this prob as soon as possible....
i have created a user form with some lables and textboxes... and buttons...
if i click on "adddata" button all the data i have entered in the form is inserted to DB...
i have placed 1 more button ...so as to make already entered data in textboxes values empty.... but it is not working when i wrote the code below.....
If (FormUID = "TestForm") And ((pVal.ItemUID = "13") And _
(pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And (pVal.BeforeAction = True)) Then
Clear() ' this is update records with respect to code value entered in form to DB
End If
Public Sub Clear()
oform.Items.Item("6").Refresh()
oform.Items.Item("7").Refresh()
oform.Items.Item("8").Refresh()
End Sub
is there any other method that is should call to clear the data...??? -
Goto a url when an object is clicked
Hi,
Is it possible to send the user to a url when they select an object?
Thanks!
SanjHi Sanj,
Yes, this is possible.
Just create a new button. In the "Actions" tab, select "Open a web link" from the pull down menu, and click on "Add...".
Then just and your url. -
Need to detect when an item is clicked in a combo box in flex 3
Hello
I am having a check box and a combo box whenever any selection is made in combo box (current selection may be same as previous selection), I need to select the check box.
By default the 1st item in combo box is selected and check box is unselected. Now I want that while 1st item is clicked in combo box (although it is selected) , the check box must be selected.
I have currently used the change event of combo box to do my task. But it is not working if I click on same item as selected item in combo box.
Also, I thought to use close event of combo box, but that event dispatches in 4 situations out of which I can distinguish only 1 situation from DropDownEvent(for close).
Please help me regarding this.
I am using flex sdk 3.5
Thanks in advance.You can use the Close Event to distinguish it.
To pull out which item has been selected in the combo box, you use the code (in as3)
ComboBox(event.target).selectedItem.label
and through the the use of an if statement
if (ComboBox(event.target).selectedItem.label == "labelName")
you can distinguish the single situation from the others. -
Problem in Launching Website URL from IC Webclient Screen
Dear all,
I am trying to launch our Business Website URL from IC Webclient screen. I have created URL ID and Transaction Launcher ID and other required assignments.
But when I try from IC Webclient, system showing 'Transaction about to Launch' message on the work area and not moving beyond that.
can any of you help me to find the solution for this problem,
your suggestions will be highly appreciated.
Best regards,
Raghu ramIf you have access to the CRM 5.0 online knowledge products
service.sap.com/okp
there is step by step instruction by the SAP wizard tutorial. -
Problem in launching webstart application when using version atribute
Hello Experts,
I am trying out my first example of JNLP. This is my JNLP file.
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://localhost:8092/webApplForWebStart" href="launch.jnlp">
<information>
<title>ForWebStart2</title>
<vendor>NAgrawal</vendor>
<description>ForWebStart2</description>
<description kind="short">ForWebStart2</description>
<homepage href=""/>
<offline-allowed/>
<shortcut online="true">
<!-- create desktop shortcut -->
<desktop/>
<menu submenu="WebStart Trial"/>
</shortcut>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+"/>
<jar href="JNLPTime.jar" version="1.0" main="true" download="eager"/>
</resources>
<application-desc main-class="TheTime">
</application-desc>
</jnlp>My Problem is if I remove version="1.0" from <jar > tag application is launching properly. But if I am using version attribute , it is giving me this error while launching the application.
"Unable to load resource :( http://localhost:8092/webApplForWebStart/JNLPTime.jar , 1.0)
java.io.IOException : missing version response from server."
I can't afford to remove the version attribute as it is required for auto-update. Has anyone ever tried faced such problem.? Please help me. Any help is highly appreciated.Thanks in advance.It's just as told.
If you're using explicit versions, the server response MUST provide an header to tell which version is returned (you could be using 'wildcards' like 1+).
How are you serving requests? Are you using JnlpDownloadServlet? If so, check docs: extra work is required in order to use version features.
If using your own service google for header (and parameter) name, use exact versions and copy to the response the value you're retrieving from the request.
Bye. -
Some child chms don't display topic in topic pane when TOC item is clicked
Okay. I'm not sure what's going on.
We have a master project and various sub-chms that get merged into the TOC of that master project. We have a fairly new sub RH project named "Toolkit Modules" that generates three additional sub chms that are also merged into the master help. They appear at the very end of the master project's TOC:
<master help's toc>
<10 other merged chms>
toolkitmodules.chm
toolkitmodules_blade.chm
toolkitmodules_vwmp.chm
All the topics for the three toolkit modules chms exist in the Toolkit Modules project and are conditionally marked with topic-level build tags so that the right topics appear in their respective chm.
I compiled the three toolkit chms and then put them in the master root directory so that when the master help is generated, they get included properly.
At first glance, all three of these chms appear to be working fine in the master TOC. I can expand and view the master help's TOC for the sub projects just fine, but clicking on a TOC entry does not display
the topics for these two chms in the topic pane:
toolkitmodules_blade.chm
toolkitmodules_vwmp.chm
I'm not sure why.
If I double-click and open up the individual chms from within Windows and view their contents, the topics appear as expected in those chms. It's just when merged, these latter two chms don't do anything from the TOC side. However, I have verified that the topics are indeed getting merged in, because I can use the Search tab to see the topics. In fact, the Locate button on the toolbar even expands the correct TOC and highlights the entry that matches. So something's just not working from the TOC side.
Any ideas?
I'm using RH 9.02.271
Windows 7 64-bit
HtmlHelp output (chm)
Thanks!Jared
Right now I simply don't have the bandwidth to say "send me your project". You may see me ask others to do so but that will only be where I believe it will be simple or I just need to see something.
Take a look at Item 13 in http://www.grainge.org/pages/authoring/rh9/using_rh9.htm. That covers the fix to the merged CHM help problem that was used before Adobe fixed it in 902. Part of the problem was the HHP getting rewritten so maybe something there will help.
Any merged CHM help users able to pitch in here?
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Open Edit form directly when list item is clicked in Sharepoint 2013 list
Hi,
I have a list web part, wherein the user clicks the item it should open in the Edit form directly. various forum i checked was for SharePoint 2010, as we do not have design mode in SharePoint designer 2013, I am unable to do.. I know
if I the change the form type from default page to edit page, it will work, but not sure about how to go ahead. Could anyone help me to achieve this please....Sunitha,
You can do this with some jQuery and JavaScript. Look at this post:
http://brandonatkinson.blogspot.com/2013/11/open-sharepoint-2013-list-items.html
Basically, add a Script Editor Web Part to the page and include this snippet:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script type="text/javascript">
$(function() {
// Change all display form links to edit form links
$('.ms-vb a[href*="listform.aspx"]').each(function(){
var link = $(this).attr('href');
link = link.replace("PageType=4", "PageType=6");
$(this).attr('href', link);
</script>
Brandon Atkinson
Blog: http://brandonatkinson.blogspot.com -
Transaction launcher for url in new window need "Back" to continue working
Hello Experts,
In the CRM I've created a Transaction Launcher for url, when I press on the link and open it in new window
I got the following message: "The object you have selected is starting in a new browser window. You can continue working normally in the current application. However, you may have to navigate back to the page you were working on. "
how do I can still open the url ( which is BSP page) in new window & can continue working with CRM without clicking on the Back button ?
ThanksHave you solved the problem, Jamil?
Hi Experts,
I am also facing the same problem.
The other possible solution I am thinking of calling the pop up window and then close the pop up.
I don't know how can we call custom bsp page from view in pop up window. And then close the same pop up without asking user to click on any button.
Thanks and Regards, -
Hello. I have big problem with launching VS2013. When try to launch have error
Application Name: devenv.exe
Application Version: 12.0.21005.1
The time stamp applications: 524fcb34
Name of the module with an error: StackHash_5861
Version of the module with an error: 0.0.0.0
The time stamp module with the error: 00000000
Offset exceptions: PCH_A9_FROM_ntdll + 0x0003AAAC
Exception code: c0000005
These exceptions: 00000008
OS Version: 6.3.9600.2.0.0.16.7
Language Code: 1049
Additional Information 1: 5861
2 For more information: 5861822e1919d7c014bbb064c64908b2
For more information, 3: 84a0
For more information, 4: 84a09ea102a12ee665c500221db8c9d
This topik don;t help
https://social.msdn.microsoft.com/Forums/vstudio/en-US/9a8fc2ce-d741-4991-b012-6f0167183537/visual-studio-2013-proffesional-crash-when-i-trying-to-launch-it-devenvexe-c0000005?forum=vssetup
Smb can help me?Hi,
In order to resolve your problem. Please give us some information in detail:
please use the command line "devenv.exe /log" to collect the VS Starts logs. See the link to get more information about devenv command:
https://msdn.microsoft.com/en-us/library/xee0c8y7.aspx
And for better to troubleshooting your issue, I also want to investigate your VS setup log.
Try to use
http://aka.ms/vscollect to gather the installation logs. You will find vslogs.cab from %temp% folder.
Please upload these logs file to OneDrive:
https://onedrive.live.com/
and share a link in the forum.
Best Wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.
OFc..Look.Can;t use "devenv.exe /log" ,because error in that moment. Can;t use devenv.exe
with any key -
Problem while launching Webdypro Application on click of a work item in UWL
Hi All,
I am trying to launch a webdynpro application by clicking one of the work items in UWL. But I am getting the error as "iview N/A".
It is trying to use the UWL Launch Webdynpro iview(with the id com.sap.netweaver.bc.uwl.uwlLaunchWebdynpro)
I searched for the above iview,I could see all the UWL related iviews at the following location(Portal content->Content Provided by SAP->End user content->Standard Portal users->iviews ->com.sap.netweaver.bc.uwl.uwliviews)
I could find UWL Launch SAP BSP and UWL Launch SAP Transaction and few more,but could n't find UWL Launch Webdynpro iview.
Can any one let me know wat do I need to do,to get that iview.
I am working on EP6 & KMC SP19.
Thanks for the help
Regards,
SanthoshHi Santosh
One thing is clear that you can see your task in the UWL, If your SWFVISU is entry is correct (especially the System Alias ), the only reason i can see is the XML is not imported properly.
Login as administrator and navigate to
System Administration->System Configuration->Universal Worklist & Workflow->
Universal Worklist Administration
Re-Register your System again.
and click this link on the same page "Click to Administrate Item Types and View Definitions"
There will be an XML imported, just check your Task Number is present and check
the application, if exists should not be a problem.
If you see the SAP Standard ESS workflows, all webdynpro applicaitons are directly called by specifying the webdynpro component name, not as an iView.
I think you are using Portal iView to display your webdynpro, try to use the webdynpro applicaiton as it is.
Regards
Abhimanyu L -
Hello Experts,
I have created a Webdynpro application in which i have the UWL Items. I am able to read all the properties of the items.
But I don't know how to create the URL for the specific ITEMS, to open the item, when clicked.
Can you please provide me information of how to create the specific Item URLs, which i can link to the Item.
Regards,
Gursimran SinghHi,
So you have created your own "custom made UWL"? Did I understand correctly? And you want to launch other applications from it? This depends on the type of application you want to lanch. It will be different for web dynpro, BSP, etc.? You might want to ask this from different forums. If you need to launch another abap web dynpro application, you can do it with CL_WD_UTILITIES=>CONSTRUCT_WD_URL (but this is if your custom made UWL is made with web dynpro ABAP. If you have a custom Java Web Dynpro application, you need to check the UWL programming API (which I guess you should be already familiar, if you managed to create a custom UWL with Java).
Or did I understand it all wrong?
Regards,
Karri -
Hello Experts,
I have created a Webdynpro application in which i have the UWK Items. I am able to read all the properties of the items.
But I don't know how to create the URL for the specific ITEMS, to open the item, when clicked.
Can you please provide me information of how to create the specific Item URLs, which i can link to the Item.
Regards,
Gursimran SinghHi,
Try the following
package samplepackage;
import java.util.Iterator;
import java.util.Locale;
import java.util.Properties;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import com.sap.netweaver.bc.uwl.IUWLItemManager;
import com.sap.netweaver.bc.uwl.IUWLService;
import com.sap.netweaver.bc.uwl.IUWLSession;
import com.sap.netweaver.bc.uwl.Item;
import com.sap.netweaver.bc.uwl.ItemCollection;
import com.sap.netweaver.bc.uwl.QueryResult;
import com.sap.netweaver.bc.uwl.UWLContext;
import com.sap.netweaver.bc.uwl.UWLException;
import com.sap.security.api.IUser;
import com.sap.security.api.UMFactory;
public class Sample {
public void retriveItems() {
try {
// look up UWL service
IUWLService uwlService = findService();
// define session timeout perios
final int sessionIdleTimeout = 60;
// create context
UWLContext uwlContext = new UWLContext();
// find logged in user.
IUser user = //TODO Get the user for whom the items are to be retrieved.
uwlContext.setUser(user);
uwlContext.setLocale(Locale.getDefault());
// begin session
IUWLSession uwlSession;
uwlSession = uwlService.beginSession(uwlContext, sessionIdleTimeout);
uwlContext.setSession(uwlSession);
IUWLItemManager itemManager = uwlService.getItemManager(uwlContext);
QueryResult result = itemManager.getItems(uwlContext, null, null);
ItemCollection items = result.getItems();
Item item = null;
for (int i = 0; i < items.size(); i++) {
item = items.get(i);
Map params = new HashMap();
params.put("taskId", item.getExternalId());
String executionURL = WDURLGenerator.getApplicationURL("sap.com/tcbpemwdui~taskinstance", "ATaskExecution", params);
//TODO Add code send mail which contains above URL.
} catch (UWLException e) {
e.printStackTrace();
} catch (NamingException e) {
e.printStackTrace();
// look up UWL service
private IUWLService findService() throws NamingException {
Properties env = new Properties();
env.put(InitialContext.INITIAL_CONTEXT_FACTORY, "com.sapportals.portal.prt.registry.PortalRegistryFactory");
// create initial context
InitialContext ctx = new InitialContext(env);
// retrieve UWL service
IUWLService uwlService = (IUWLService) ctx.lookup("/broker/services/" + IUWLService.ALIAS_KEY);
return uwlService;
which is taken from the following blog : <br>
/people/kenichi.unnai/blog/2009/10/19/how-to-use-uwl-api-for-netweaver-bpm-tasks
Maybe you are looking for
-
How to add entry in OMT3R and transport it to other clients
Hello Experts, I am adding MRP4 view to tow Z transactions. I added entry in the screen ref. key which is associated with this transaction using t.code OMT3B - Define Structure of Data screens for each sreen sequence in development configuration clie
-
Hi, I am working on Report painter. Production order based reports (Ex: T.Code : kko4 and T.Code: kko0). I want to add some more fields in to the table. Can any body guide me how to locate the relevant table and libraries . Aftter adding the ne
-
Queries regarding fields in Bid invitation
Hi, I am in bid invitation screen -> Header data -> Documents section. If I attach a document I can see the following buttons. check-out, check-in, check in new version, terminate check-out, edit description, delete, activate. what purpose does the c
-
Add custom command in the context KM menu
Hello All, Wanna know if its possible to add custom command in the KM context menu? If yes, please guide as to how can I do this.... Example: Print option in the context menu Awaiting Reply. Thanks & Warm Regards, Ritu
-
I have a multi-page document that I need to split into individual PDF files. I know how to use the "extract as separate files" feature, but I'd also like to be able to specify the name of each extracted file. Namely, I'd like to name each file a dif