Add multiple elements in response using rules
All,
I am very interested to know if anyone can tell me how I can add multiple elements in the response using the rules engine in oracle SOA 11g (version 11.1.1.3).
For every rule that fires I want to add a complex element named Rule which contains the elements code and description of the rule fired. This information should be returned in the response.
I hope somebody has the answer.
Many Thanks
Ren
All,
Please see below forum for an answer:
Re: Unbounded element in Business Rules
Regards,
Ren
Similar Messages
-
Can I add multiple elements on a single line?
Can I add multiple elements on a single line?
Not yet. But this is something we plan to support. You can vote on this idea here: http://forums.adobe.com/ideas/1046
We use this to help prioritize our work.
Randy -
Add multiple elements to a tree control at once
I am using a Tree Control to display customer and certificate information. However, adding 500 customer names or certificate numbers to the tree control one at a time takes for ever (well, 30000 ms). Is there any way to add multiple elements to a tree all at once, or is the only solution to use a listbox with 'forward' and 'back' buttons ?
thanks,
michaelHi Michael
I don’t believe there is a way to supply a list of child items to a parent item, they have to be added incrementally. One way that you could speed this process up is to design your code such that only when you expand an item does it add the child items.
If you want an even higher update rate have a look at using the ActiveX TreeView control, you will find an example called Family Tree.vi in the LV examples.
I'll do up some code that makes using both of the controls more efficient if enough people want it.
Kurt Friday
www.sciware.com.au -
How to add multiple presets to responsive design view without having to resize the screen each time
I want to be able to add multiple screen size presets to the responsive design view capability but don't want to have to resize the screen and add each one individually via the custom preset function.
Have seen that some posts on the internet (http://g-liu.com/blog/2013/08/firefox-rdm-presets/) that say this can be done but cannot find where the config is held in ver 26.0?You can also do the opposite and create custom settings in the responsive design mode window.
You can hold down the Shift key and drag the borders via the (right border, bottom border, bottom right corner) resize icons to get specific dimensions and give the current custom setting a name to add them as a preset.
This will add the preset to the devtools.responsiveUI.presets pref.
See also my post here for a bookmarklet.
*[[/questions/957590]]
You can paste the current value of the pref in the prompt to see a list of currently defined presets.<br />
You can add a new preset by entering the width,height,name values in the prompt.<br />
Copy the new preset list to the pref.
<pre><nowiki>javascript:(function(){
function rdObj(w,h,n){with(this){key=w+"x"+h;if(n)name=n;width=w;height=h;}}
rdObj.prototype={key:"",name:"",width:"",height:""};
var n={},p='<width>x<height> <name> OR width,height,name',rd=[];
while(p!=null){
p=prompt(p,JSON.stringify(rd));
if(/^(\d{3,4})[,x](\d{3,4})([, ](.+))?$/.test(p)){
n=new rdObj(RegExp.$1,RegExp.$2,RegExp.$4);rd.push(n);
}else{try{rd=JSON.parse(p);}catch(e){}}
}})()</nowiki></pre> -
Powershell script to add multiple domains to a transport rule
I have a transport rule in Exchange 2013 that I created in the EAC (mail flow>rules). it is set so *Apply this rule if.. the sender's domain is.. and then I entered a few domains.
I want to use a powershell script to enter multiple domains into the senderdomainis parameter using the set-transportrule. I would like to do this from a csv input file. The file has header row of domains and then the domains are listed
under it. This is also used successfully in a script that does content and sender id filter additions.
I tried the following:
$allowed = import-csv c:\temp\allowed.csv
$Rule=get-transportrule "safe domain List"
$Senderdomains =$rule.senderdomainis
foreach($row in $allowed)
$Senderdomains +=$row.domain
#Set-Transportrule "Safe Domain List" -senderdomainis $Senderdomains
It just adds a long line of all the domains mashed together without separation.
Any ideas would be helpful.
Thanks.This isn't the most elegant solution, but I was able to accomplish it with this script:
$allowed = import-csv c:\temp\allowed.csv
$domains=Get-TransportRule "Safe Domain List" | select -ExpandProperty senderdomainis
foreach ($a in $allowed)
$domains += $a.domain
$domainstoadd = $domains | select -Unique
Set-TransportRule "Safe Domain List" -SenderDomainIs $domainstoadd
It's key to note that the column in the CSV file has a heading of "Domain". Basically the script pulls the existing array into a variable so you can add values from the CSV to the array. This creates duplicates,
so the "Select -Unique" is a quick and easy way to eliminate the duplicates. -
Trying to add multiple ship to parties using BAPI_BUPR_PFCT_CREATEFROMDATA
Hi all,
I am trying to add relation ship to a business partner. I have two business partners BP1 and BP2. I need to assign BP2 as u201CShip to Partyu201D for BP1. I was able to do this using BAPI_BUPR_PFCT_CREATEFROMDATA.
But my actual requirement is to add more than one business partner as u201CShip to partyu201D to BP1 in my ZFunction Module in one instance itself.
BAPI_BUPR_PFCT_CREATEFROMDATA. Will take input as Business partners and assigns BP2 as Ship to party to BP1.
But my requirement is I have to assign more than one business partners as Ship to parties for this BP1.
But BAPI_BUPR_PFCT_CREATEFROMDATA accepts only a single business partner at a time. So I created a Z function Module and declared a tables paramters which accepts any number of Businesss partner. I also declared an import paramter to accept the business parter number for which all the business partners in table should be assigned as Ship to parties.
I tried passing the values from this table to the BAPI but it shows me a waring message saying
u201CAfter Enhancement you may not be able to convert the structure WA_SOLDu201D into a number and it would no longer be a valid operandu201D
If I execute the Zfunction Module it is not assigning the business partners from the input table as ship to parties to the business partner(import paramters).
Please help me...how can i assign multiple ship to parties for a business partner at one instance iteslf using BAPI_BUPR_PFCT_CREATEFROMDATA...
here is how i desgined my Zfunction Module...........
Impot paramters = CUST_NO) TYPE BU_NAMEP_F
Tables paramters = I_SOLD like ZSOLD_TO OPTIONAL
My structure Zsold_to has follwing componenet
BP type BU_NAMEP_F
Here is my codeu2026u2026..
FUNCTION Z_FUNCTION.
""Local Interface:
*" IMPORTING
*" VALUE(CUST_NO) TYPE BU_NAMEP_F
*" TABLES
*" I_SOLD STRUCTURE ZSOLD_TO OPTIONAL
*" IT_RETURN1 STRUCTURE BAPIRET2 OPTIONAL
*" IT_RETURN2 STRUCTURE BAPIRET2 OPTIONAL
DATA: WA_SOLD TYPE ZSOLD_TO.
LOOP AT I_SOLD TO WA_SOLD.
*Call the BAPI BAPI_BUPR_PFCT_CREATEFROMDATA.
CALL FUNCTION 'BAPI_BUPR_PFCT_CREATEFROMDATA'
EXPORTING
BUSINESSPARTNER1 = CUST_NO
BUSINESSPARTNER2 = WA_SOLD-BP
RELATIONSHIPCATEGORY = 'CRMH02'
TABLES
RETURN = it_RETURN1.
*Call Commit Work
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = it_RETURN2.
ENDLOOP.
ENDFUNCTION.
Please help me...how can i assign multiple ship to parties for a business partner at one instance iteslf using BAPI_BUPR_PFCT_CREATEFROMDATA...
Regards,
Jessica Sam
Edited by: jessica sam on Jan 19, 2009 1:57 AM
Edited by: jessica sam on Jan 19, 2009 2:09 PMHi,
I am facing the same issue I have created the Target Group and then assigned the BP to target group using BAPI
BAPI_TARGETGROUP_ADD_BP . Called BAPI
BAPI_TRANSACTION_COMMIT after this. Table CRMD_MKTTG_TG_I is getting updated with BP guid but its not showing in WEB UI screen.
Please help me.
Thanks and Regards,
Ranadev -
Same idoc to multiple EDI receiver system using rule
Dear Friends!
Good day! I am using desadv.delvry03 idoc and I want to send same idoc from same communication component to multiple receiver parties without mapping.
I have created first scenario successfully using idoc, when I create another scenario it gives me message like "Object already exist" . for that I have to use Service interface. I dont want to use service interface for this purpose. In my scenarios mapping is not even required. one idoc to and multiple receivers thats it.
Can you please guide me how to do the above requirement ?
your any help will be appreciated greatly
Thanking you
Regards
DipenHi,
For this... U can create 1 sender agreent for that idoc if necesseary....otherwise we dont required IDOC sender Agreement.
Then Create 1 reciver determination in that u can mention the 2 recivers details...
same thing for interface determination also.
and finally create 2 reciver agreement and 2 reciver communication channels for 2 systems.
Let me know if you require any further information.
Thanks,
Sreenivas -
Add Multiple Detail Items Using the Same Query String Parameter
I am using InfoPath 2010 and SharePoint 2010.
I have 2 forms libraries - Expense and Expense Details.
The 2 libraries are linked via a custom site column Expense ID.
The Expense form contains the main header type info you would typically find on an expense report; e.g., name, purpose, department, etc.
The Expense Details form contains multiple detail expenses related to the main expense report such as airfare, rental car, etc.
I have created a page that displays an expense report with all of the related expense detail items.
The page contains a link to add a new expense detail and passes the Expense ID of the Expense form to the Expense Detail form.
This all works fine. The problem comes in after the first expense detail form is submitted.
I can successfully submit the first detail item. However, the expense detail form loses the Expense ID that was passed to it after the first expense detail form has been submitted.
The parameter still shows in the URL but the detail form no longer shows the value of the parameter.
What do I need to do in order to be able to add multiple expense detail items using the same Expense ID that was passed to the form?
I have tried using a Submit Behavior of Open a new form, Close the form, and Leave the form open.
None of these options give me what I need. Thanks for your help.
pamLaura Rogers Blog
In case anyone stumbles upon this looking for an answer. Laura Rogers has the answer found in the comments section of her blog above. It’s not the best but it
does work. You have to add an extra Info Path Web Form for it to work. I know, you can roll your eyes.<o:p></o:p>
Steps.<o:p></o:p>
1. Add Query String<o:p></o:p>
2. Add the extra Info Path form to the page. This form will be a hidden on the page and will receive the value from the query string.<o:p></o:p>
3. Add your original Info Path form and have it receive a parameter from the hidden Info Path form.<o:p></o:p>
Now, when you hit save and it opens a new form the 3 Info Path form will function properly. <o:p></o:p> -
How to use rule and send the same email to multiple recipents
Hi,
My requirement is to send the workitem to the multiple recipents. one of my reiend suggest me to use the rule but i don't know how to use that .
can any one of you suggest me how to use rule in workflow.
Also i want to send the same email to multiple recipent .how can i do it by using the multiline variable...please advice me with example if possible..
Note :- Is it necessary to saparate the email id with comma or i will add all the email next one another..
Please suggest.
Thanks in advance ,
AnandHi Anand,
I would suggest you first follow the guidelines of the forum and a little searching. One of your questions has been asked just a few threads below.
Regards,
Martin -
Can I add multiple keywords on one line in Junk Rules
Dad forwards me crappy jokes all the time. I have a rule set If "all" conditions are met.
From Contains : dads email address
Subject Begins With: : FW
This works but can add into the same line Fwd.
It's been a long since programming but I thought maybe using : "FW",Fwd","Fw".
I know I could set another rule but Its more efficient this way.
Please let me know it there is a correct syntax which would allow me to do this.
Thanks,
CraigNever mind just found out I can add multiple lines of : Subject Begins With and keep the "All" Conditions command. I original thought the rule would initiate with the all conditions must be present, but it seems to work.
-
Add multiple people using Javascript Client Object Model
I am trying to add multiple people to a SP column of type Person/Group i.e. people picker. I am able
to add one successfully using their userId, but HAVE no clue how to do that for multiple people. Here is the code for one user:
function UserDrop(e, toElement, listGuid, columnName) {
//EcmaScript Client Object Model
var ctx = new SP.ClientContext.get_current();
var list = ctx.get_web().get_lists().getById(listGuid);
var item = list.getItemById(elementId);
//columnName is of type person/group and I am adding user //whose userId is 7
item.set_item(columnName, 7);
item.update();
// asynchronous call
ctx.executeQueryAsync(
function () { toElement.innerHTML = userLinkHtml; },
function () {alert ("Error")}
return false;
This works great and I can add user whose userId is 7, however I want to add multiple people like let's say users of user Ids 7 and 8.
Any ideas or help will be greatly appreciated.
There is a thread on this one but that's from .net COM which could accessed here: http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/5183e87c-ee1d-4594-9492-0dfdf6616cce
7929Hi ,
Can somebody let me know how the same(assigning the array values to lookup value field) can be achieved with multi-select lookup value. SP.FieldLookUpValue do not have any such methods like fromUser. Please help. Please find my code block below
clientContext = new SP.ClientContext.get_current();
if (this.clientContext != undefined && clientContext != null) {
var webSite = clientContext.get_web();
oList = webSite.get_lists().getByTitle("Add New User");
$.urlParam = function(name){
var results = new RegExp('[\\?&]' + name + '=([^&#]*)').exec(window.location.href);
return results[1] || 0;
var itemid = parseInt($.urlParam('ID'));
var item = oList.getItemById(itemid);
var users = new Array();
users.push(SP.FieldLookupValue.set_lookupId(1));
users.push(SP.FieldLookupValue.set_lookupId(2));
item.set_item('Responsibility', users);
item.update();
clientContext.executeQueryAsync(Function.createDelegate(this, this.success), Function.createDelegate(this, this.failed));
also i cant use managed client object model.. so pls let me know how to achieve the same using javascript client object model
Ranjani.R -
Missing element To when using SOAP 1.2 with WS Addressing 1.0 in Response
Hi,
I'm developing WCF using SOAP 1.2 with WS Addressing 1.0 between Windows Server 2012 and JAVA client Oracle JAX-WS 2.1.5.
The Request from the client contains the element <To>, but the Response from the Server somehow will ignore that element, which is required for the client, even I tried to add manually.(refer to http://stackoverflow.com/questions/15808852/how-to-correctly-implement-custom-soap-1-2-headers-and-ws-addressing-in-a-wcf-se)
Is this normal behavior that the Response will ignore the element <To>?
And is there another way to add the element?
Thanks.I'm developing server side service using .net framework 4.0.
Microsoft Service Trace Viewer shows that in ServiceLevelReceiveRequest the element <To> is exist, but then it is gone in the following step, ServiceLevelSendReply, and TransportSend.
Thanks. -
How can I add a button to add multiple image in PDF from using adobe acrobat pro?
I have to create a pdf form using Adobe Acrobat Pro X.
In this form I want to add a button where I can add multiple images to the field.
I have tried using javascript event.target.buttonImportIcon(); and successfully add an image, but when I want to add the 2nd image it automatically overwrites the previous one.
Is there any way to solve this issue? I would like to have a form where I can add a lot of images in it. It is possible in word, but we really have to use adobe.
ThanksHi thanks for your answer.
I can add multiple button, but if there are 10 images that I wan to add, then I have to create 10 buttons.
Moreover, the pictures will be placed on top of each other and it means that you cannot see it clearly. -
Use "Update List Item" to add multiple Values
I'm having a List on a SharePoint 2013 Farm.
Each Entry can be a Member of a different Entry, and also can have multiple members.
Now i want to Update my List Items with Orchestrator IP "Update List Item" and want to add this members to my List Element. If i try it with one member, all is fine, but i want to add multiple Members to a List Entry
i tried to seperate with commas, semicolon, spaces, line breaks.....
For Example:
My list Element will repesent my Business Services like Microsoft Exchange, Microsoft Exchange Mailbox, Client, Server......
No i want to add to the List Entry "Microsoft Exchange" the members "Exchange Mailbox" and "Client"
Any Ideas?
Seidl Michael | http://www.techguy.at |
twitter.com/techguyat | facebook.com/techguyatHi
what i want to do is this
when i configure my Activity to update twice, so one Activity vor "PowerClient" and one Activity for "A000001" only the last Entry exist, so it will overright the existing Entry.
i am not sure how to configure the Activity to add multiple Values at once.
Seidl Michael | http://www.techguy.at |
twitter.com/techguyat | facebook.com/techguyat -
How to add multiple table when creating add on using b1de
Hi all,
Plz help me
How to add multiple table when creating add on using b1de.
ThanksHi dns_sap,
Can you explain a little better what you are trying to accomplish? Is it to create UserTables and UserFields in the database, when the addon runs the first time?
If so, you can use the following code
Add User Table
Try
Dim lRetCode As Long
Dim oUDT As SAPbobsCOM.UserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
oUDT.TableName = TableName
oUDT.TableDescription = TableDescription
oUDT.TableType = TableType
lRetCode = oUDT.Add
'// Check for error when adding the Table: if lRetCode = 0 the table was created; if lRetCode = -2035 the table already exisits
If lRetCode <> 0 Then
oApplication.MessageBox("Error: " & lRetCode.ToString & ", " & oCompany.GetLastErrorDescription)
End If
Catch ex As Exception
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Finally
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDT)
oUDT = Nothing
lRetCode = Nothing
GC.Collect()
End Try
Add User Field
Try
Dim lRetCode As Long
Dim oUDF As SAPbobsCOM.UserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
oUDF.TableName = TableName
oUDF.Name = FieldName
oUDF.Description = FieldDescription
oUDF.Type = FieldType
lRetCode = oUDF.Add
'// Check for error when adding the field: if lRetCode = 0 the field was created; if lRetCode = -2035, the field already exists
If lRetCode <> 0 Then
oApplication.MessageBox("Error: " & oCompany.GetLastErrorCode & ", " & oCompany.GetLastErrorDescription)
End If
Catch ex As Exception
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Finally
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDF)
oUDF = Nothing
lRetCode = Nothing
GC.Collect()
End Try
Regards,
Vítor Vieira
Maybe you are looking for
-
Clean install of Windows 7 Ultimate 64-bit on Qosmio X870
When I received my laptop (Qosmio x870) I immediately uninstalled its OS since it was filled with bloatware and installed a clean version of windows 7 ultimate 64 bit. After my install I have been trying to install the drivers on my laptop, but some
-
Problem Exporting / Importing print forms with program RSTXSCRP
Hi! there is problem Exporting / Importing print forms with program RSTXSCRP. when I transfer print form from one SAP system to other, logo image and some text is missing... what could be the reason? Maybe there is other way to transfer print forms b
-
Flat File Processing using Batch Job
Hello, I need some ABAP advice... The scenario: There's a batch job that runs every hour and picks up all the files from APP server and processes them to creates idocs. Sometimes, while a batch job is running, a file is being created on the app serve
-
Oracle clusterware for 11gR2 ?
We are trying to install 11gR2 for RAC on Linux and have downloaded the Enterprise Edition 11gR2 binary. But cannot see any clusterware software to download. Like in 10gR2, you have to down both database and clusterware for RAC install. Should the 11
-
RequestDispatcher Error in JSF-Portal application
hi, i have the following problem and need some help, ideas, etc.... I have a portal-application (jsr 168) with jsf frontend and wan't to do the following. I get via portlet-portlet communication some parameter (in processAction) and wan't to navigate