Biztalk Map: Accumulation of unique detail elements in the header
Below are the source and target schemas. I was wondering how I can achieve a mapping where the element "country" in the detail are promoted to the header where the list contains only unique country names with quantity defaulted to 1. In the example
below, from each of the subcategories, the countries are picked up and only unique ones appear in the output's header.
<Category CatId=1 CatName=Bikes Function=Travel>
<SubCat SubCatId=1 SubCatName=Avon>
<Countries>
<Country Name="Canada" Quantity=20 />
<Country Name="USA" Quantity=22 />
<Country Name="NZ" Quantity=30 />
</Countries>
</SubCat>
<SubCat SubCatId=2 SubCatName=Hero>
<Countries>
<Country Name="Canada" Quantity=20 />
<Country Name="Mexico" Quantity=5 />
<Countries>
</SubCat>
<SubCat SubCatId=3 SubCatName=Jet>
<Countries>
<Country Name="UK" Quantity=15 />
<Country Name="USA" Quantity=5 />
<Country Name="Germany" Quantity=2 />
<Countries>
</SubCat>
</Category>
<Category CatId=1 CatName=Bikes Function=Travel>
<Countries>
<Country Name="Canada" Quantity=1 />
<Country Name="USA" Quantity=1 />
<Country Name="NZ" Quantity=1 />
<Country Name="Mexico" Quantity=1 />
<Country Name="UK" Quantity=1 />
<Country Name="Germany" Quantity=1 />
</Countries>
<SubCat SubCatId=1 SubCatName=Avon>
<Countries>
<Country Name="Canada" Quantity=20 />
<Country Name="USA" Quantity=22 />
<Country Name="NZ" Quantity=30 />
</Countries>
</SubCat>
<SubCat SubCatId=2 SubCatName=Hero>
<Countries>
<Country Name="Canada" Quantity=20 />
<Country Name="Mexico" Quantity=5 />
<Countries>
</SubCat>
<SubCat SubCatId=3 SubCatName=Jet>
<Countries>
<Country Name="UK" Quantity=15 />
<Country Name="USA" Quantity=5 />
<Country Name="Germany" Quantity=2 />
<Countries>
</SubCat>
</Category>
ZIntegrator,
You can try following custom xslt
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
exclude-result-prefixes="msxsl">
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
<xsl:key name="country" match="//Country/@Name" use="." />
<xsl:template match="/">
<xsl:element name="Category">
<xsl:copy-of select="//Category/@*" />
<xsl:apply-templates select="Category" />
<xsl:apply-templates select="//SubCat" mode="CopyRest" />
</xsl:element>
</xsl:template>
<xsl:template match="Category">
<xsl:for-each select="SubCat/Countries/Country/@Name[generate-id()= generate-id(key('country',.)[1])]">
<xsl:element name="Country">
<xsl:value-of select="."/>
</xsl:element>
</xsl:for-each>
</xsl:template>
<xsl:template match="@* | node()" mode="CopyRest">
<xsl:copy>
<xsl:apply-templates select="@* | node()" mode="CopyRest"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.
Similar Messages
-
Map several records to different elements in the same xml node
Hi,
I am trying to map data from relational tables to elements as per my xml schema. One of my tables has several records that I need to map to different elements in the same xml node.
For example:
Customer_Id | Param_Id |Param_Name
212 | 1 |State
212 | 2 |Country
212 | 3 |ZipCode
I can not change the structure of this existing table and need to work with it.
How do I map the different params for a specific customer to my Customer node in the schema?
One option is to join on the parameters table several times, but there ought to be a better way!
PLEASE HELP!!!
Thanks,First I question the design that contains/allows 600 attributes on an element. They sound like they really should be elements in the XML.
Regardless, the following (NOT TESTED) should work for you (assuming you want to write one SQL with 600 columns)
CREATE OR REPLACE VIEW APPLICATION_XML
OF XMLTYPE
Element "LOAN_APPLICATION"
with object ID
substr(extractValue(object_value,'/LOAN_APPLICATION/APPLICATION_DATA/@CallID'),1,5)
AS
WITH parm_tb AS
SELECT MAX(DECODE(prv_valu, 1, prv_value)) BusinessType,
MAX(DECODE(param_id, 2, prv_value)) Product,
MAX(DECODE(param_id, 3, prv_value)) SomethingElse
FROM parameter_details
WHERE prv_pmh_header_id = 1
SELECT xmlElement
("APPLICATION_DATA",
xmlAttributes
p.prv_detail_id as "CallID",
p.PRV_PRM_PARAM_ID as "RandomID",
p.prv_value as AppInitDate
xmlElement
("PRODUCER_DATA",
xmlAttributes
parm_tb.BusinessType as "BusinessType" ,
parm_tb.Product as "Product"
FROM parameters_table p
WHERE p.PRV_PMH_HEADER_ID = 1 -
BizTalk Map: Grouping CRM Response XML based on the ID field in Custom XSLT
Hi,
I will receive a CRM response as below.
<ns0:RetrieveMultipleResponse xmlns:ns0="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:ns2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ns3="http://schemas.microsoft.com/xrm/2011/Metadata" xmlns:ns5="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:ns1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" xmlns:ns4="http://schemas.microsoft.com/xrm/2011/Contracts"><ns0:RetrieveMultipleResult> <ns4:Entities> <ns4:Entity> <b:Attributes xmlns:b="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <b:KeyValuePairOfstringanyType> <c:key>ccx_datevaccineinfostatementpresented</c:key> <c:value i:type="d:dateTime" xmlns:d="http://www.w3.org/2001/XMLSchema">2012-08-14T04:00:00Z</c:value> </b:KeyValuePairOfstringanyType> <b:KeyValuePairOfstringanyType> <c:key>ccx_administeredamount</c:key> <c:value i:type="d:decimal" xmlns:d="http://www.w3.org/2001/XMLSchema">0.75000000</c:value> </b:KeyValuePairOfstringanyType> <b:KeyValuePairOfstringanyType> <c:key>ccx_immunizationid</c:key> <c:value i:type="d:guid" xmlns:d="http://schemas.microsoft.com/2003/10/Serialization/">826c2b0e-a349-e411-866c-00155d1e1f77</c:value> </b:KeyValuePairOfstringanyType> </b:Attributes> </ns4:Entity> <ns4:Entity> <b:Attributes xmlns:b="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <b:KeyValuePairOfstringanyType> <c:key>ccx_datevaccineinfostatementpresented</c:key> <c:value i:type="d:dateTime" xmlns:d="http://www.w3.org/2001/XMLSchema">2012-08-14T04:00:00Z</c:value> </b:KeyValuePairOfstringanyType> <b:KeyValuePairOfstringanyType> <c:key>ccx_administeredamount</c:key> <c:value i:type="d:decimal" xmlns:d="http://www.w3.org/2001/XMLSchema">0.25000</c:value> </b:KeyValuePairOfstringanyType> <b:KeyValuePairOfstringanyType> <c:key>ccx_immunizationid</c:key> <c:value i:type="d:guid" xmlns:d="http://schemas.microsoft.com/2003/10/Serialization/">766c2b0e-a349-e411-866c-00155d1e1f77</c:value> </b:KeyValuePairOfstringanyType> </b:Attributes> </ns4:Entity><ns4:Entity> <b:Attributes xmlns:b="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <b:KeyValuePairOfstringanyType> <c:key>ccx_datevaccineinfostatementpresented</c:key> <c:value i:type="d:dateTime" xmlns:d="http://www.w3.org/2001/XMLSchema">2012-08-14T04:00:00Z</c:value> </b:KeyValuePairOfstringanyType> <b:KeyValuePairOfstringanyType> <c:key>ccx_administeredamount</c:key> <c:value i:type="d:decimal" xmlns:d="http://www.w3.org/2001/XMLSchema">0.7500000000</c:value> </b:KeyValuePairOfstringanyType> <b:KeyValuePairOfstringanyType> <c:key>ccx_immunizationid</c:key> <c:value i:type="d:guid" xmlns:d="http://schemas.microsoft.com/2003/10/Serialization/">826c2b0e-a349-e411-866c-00155d1e1f77</c:value> </b:KeyValuePairOfstringanyType> </b:Attributes> </ns4:Entity></Entities></ns0:RetrieveMultipleResult></ns0:RetrieveMultipleResponse>
I have to count the distinct Entities based on ccx_immunizationid value & also I have to group the fields if both entity has same immunization ID. If the xml file (without namespace) and the field is <ccx_immunizationid>2323</ccx_imunizationid>,
I can use something like below,
<xsl:template match="//Entity/Attributes[not(./ccx_immunizationid= preceding::ccx_immunizationid)]">
but here, I have to look for the key 'ccx_immunizationid' and its value.
I am using custom xslt in BizTalk map. Please help. Thanks.
Regards,
LakshmiYou need to get the distinct record filtered by "value" field whose "key" is "ccx_immunizationid" i.e <c:key>ccx_immunizationid</c:key>".
So you need to use the XPath with syntax:
/*[not(@name = preceding::*/@name)]
So in your case, the XPath value will be like the following:
/*[local-name()='RetrieveMultipleResponse' and namespace-uri()='http://schemas.microsoft.com/xrm/2011/Contracts/Services']/*[local-name()='RetrieveMultipleResult' and namespace-uri()='http://schemas.microsoft.com/xrm/2011/Contracts/Services']/*[local-name()='Entities' and namespace-uri()='http://schemas.microsoft.com/xrm/2011/Contracts']/*[local-name()='Entity' and namespace-uri()='http://schemas.microsoft.com/xrm/2011/Contracts']/*[local-name()='Attributes' and namespace-uri()='http://schemas.microsoft.com/xrm/2011/Contracts']/*[local-name()='KeyValuePairOfstringanyType' and namespace-uri()='http://schemas.microsoft.com/xrm/2011/Contracts'][*[local-name()='key' and namespace-uri()='http://schemas.datacontract.org/2004/07/System.Collections.Generic']/text() ='ccx_immunizationid'][not(*[local-name()='value' and namespace-uri()='http://schemas.datacontract.org/2004/07/System.Collections.Generic'] = preceding::*[local-name()='value' and namespace-uri()='http://schemas.datacontract.org/2004/07/System.Collections.Generic'])]
You may need to change the namespaces according to yours. This XPath would give you an idea of how to use the distinct XPath (1.0) snystax as shown above in your XML.
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
How to put an xml element in the header field?
Hello friends,
My requirement is like I've a particular element that needs to be printed on the header filed
for ex --dept_no and dept_name in the header field...please let me know how..
ThanksFor each occurrence of DEPT_GROUP, a new section is created.
These sections can have different header/footer.
In case, you want different values to be displayed in header/footer section(as your requirement) or you want the page numbers to be reset for each group, you can use this command.
Check the user guide http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12187/T421739T481157.htm#4535398 -
Element in the header - mustunderstand
hello
in the header of every response message that I have error in, I recieve:
SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
I would like to know if it is possible to not recieve in the answer this element 'mustUnderstand="1"', or if I can change it to recieve '0' or maybe empty string.
my version of XI is 3.0.
thanks for your help
KfirHi,
A must understand value of '1' is a Fault Code in an SOAP message.
From my point of view, you cannot and should not supress it.
The processing of the SOAP depends on the Faultcode.
The appliacation should throw an error when a FaultCode appears.
if you want more info on this check out
LINK: [http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383507]
Regards,
Abhishek
Edited by: Abhishek Vinayaka on Feb 28, 2008 11:22 PM -
Biztalk Map: Repeated node
Hi,
Please find below Input file
<Vin_Decoder>
<Process>
<Risk>
<Line>
<Exposer>
<Type>VIN</type>
<Svalue>123456789123456789</Svalue>
</Exposer>
<Exposer>
<Type>Year</type>
<Svalue>2014</Svalue>
</Exposer>
<Exposer>
<Type>MAKE</type>
<Svalue>2546</Svalue>
</Exposer>
<Exposer>
<Type>Discripttion</type>
<Svalue></Svalue>
</Exposer>
</line>
</risk>
<Risk>
<Line>
<Exposer>
<Type>VIN</type>
<Svalue>123456789987654321</Svalue>
</Exposer>
<Exposer>
<Type>Year</type>
<Svalue>2013</Svalue>
</Exposer>
<Exposer>
<Type>MAKE</type>
<Svalue>6789</Svalue>
</Exposer>
<Exposer>
<Type>Discripttion</type>
<Svalue>kfjdklf</Svalue>
</Exposer>
</line>
</risk>
</Process>
</Vin_Decoder>
and i am expecting the out put format
<Vin_Decoder>
<Decoder>
<VIN>123456789123456789</VIN>
<Year>2014</Year>
<Make>2546</Make>
<Description></Description>
</Decoder>
<Decoder>
<VIN>123456789987654321</VIN>
<Year>2013</Year>
<Make>7896</Make>
<Description>kfjdklf</Description>
</Decoder>
</Vin_Decoder>
please suggest me how to do this in biztalk map..
Thanks..Hi,
In the Vin_Decoder schema create a "Decoder" Child Record and make it optional. Inside the Decoder" Record create the all the Field Elements like VIN, Year, etc. Create a map where the source and destination is the Vin_Decoder schema. Map to the field
elements inside the Decoder" Record.
Kind regards,
Tomasso Groenendijk
Blog
| Twitter
MCTS BizTalk Server 2006, 2010
If this answers your question please mark it accordingly -
I have repeating elements,but I want to create a list of unique elements only.
Suggest code.s_adi_bilaye wrote:
As suggested correctly use a set to maintain unique elements in the collection. But suppose you want to insist using a list there are methods in the list api which you can use.
For example: If you have an arraylist of strings and to ensure that you do not add a duplicate string in the list you may use the list.contains(Object obj) method. Read the "List" documentation to get the detailed explanation of the working of this method.The OP should however know that the performance of that might be very bad for large lists. -
Hi,
how can i convert date into julian date in BT map.
Thanks in adv.
2Venture2Try this in BizTalk map via an inline C# scripting functoid
public static string ToJulian(string strdateTime)
DateTime dateTime = Convert.ToDateTime(strdateTime);
int day = dateTime.Day;
int month = dateTime.Month;
int year = dateTime.Year;
if (month < 3)
month = month + 12;
year = year - 1;
long dt = day + (153 * month - 457) / 5 + 365 * year + (year / 4) - (year / 100) + (year / 400) + 1721119;
return dt.ToSTring(dt);
or this returns long, and the input parameter is datetime
public static long ToJulian(DateTime dateTime)
int day = dateTime.Day;
int month = dateTime.Month;
int year = dateTime.Year;
if (month < 3)
month = month + 12;
year = year - 1;
return day + (153 * month - 457) / 5 + 365 * year + (year / 4) - (year / 100) + (year / 400) + 1721119;
Refer this article for more details:http://mikearnett.wordpress.com/2011/09/13/c-convert-julian-date/
Following in the what we have been using in our maps, this has two static methods. One for standard datetime to Julian and another to convert Short datetime to Julian:
public int ToJulian(string dt)
try
DateTime date = DateTime.Parse(dt);
return ((date.Year - 1900) * 1000) + date.DayOfYear;
catch
return 0;
/// <summary>
/// Convert to Julian from dd/mm/yy
/// </summary>
/// <param name="dt"></param>
/// <returns></returns>
public int ToJulianFromShortDT(string dt)
try
DateTime date = new DateTime(int.Parse(dt.Substring(6, 2))+2000, int.Parse(dt.Substring(3, 2)), int.Parse(dt.Substring(0, 2)));;
return ((date.Year - 1900) * 1000) + date.DayOfYear;
catch
return 0;
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
Hi,
I have the Biztalk Map logic as shown in figure
Discount Step and Loyalty both are repeatitive node structures
Sample Input Xml is as shown below
<DiscountStepList>
<DiscountStep>
<NumberOfTrips>35</NumberOfTrips>
<Percentage>1113</Percentage>
</DiscountStep>
<DiscountStep>
<NumberOfTrips>5</NumberOfTrips>
<Percentage>7732</Percentage>
</DiscountStep>
<DiscountStep>
<NumberOfTrips>30</NumberOfTrips>
<Percentage>8280</Percentage>
</DiscountStep>
</DiscountStepList>
the logic to get the o/p will be
For Childe Element MIntrip:
in the first iteration Mintrip=1 and in Secoond iteration Mintrip=Last elememnt Maxtrips+1
For CHild Element Maxtrips:
In the first Iteration Maxtrips="NumberOfTrips" and in Second iteration current element MintripNum + NumberOfTrips.
The o/p for the above input example will be like
<ns0:Loyalites xmlns:ns0="http://BizTalk_Server_Project7.Schemdfa1">
<Loaylty>
<MinTrip>1</MinTrip>
<MaxTrips>35</MaxTrips>
</Loaylty>
<Loaylty>
<MinTrip>36</MinTrip>
<MaxTrips>41(36+5)</MaxTrips>
</Loaylty>
<Loaylty>
<MinTrip>36</MinTrip>
<MaxTrips>41(36+5)</MaxTrips>
</Loaylty>
<Loaylty>
<MinTrip>42</MinTrip>
<MaxTrips>72(42+30)</MaxTrips>
</Loaylty>
</ns0:Loyalites>
Is it possible in Biztalk Map using functoids?Sujith,
You got to buy me a drink :)
You can achive this using XSLT in your map, following XSLT will get the desired result:
<?xml version="1.0" encoding="UTF-16"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:var="http://schemas.microsoft.com/BizTalk/2003/var" exclude-result-prefixes="msxsl var" version="1.0" xmlns:ns0="http://BizTalk_Server_Project7.Schemdfa1" >
<xsl:output omit-xml-declaration="yes" method="xml" version="1.0" />
<xsl:template match="/">
<xsl:apply-templates select="/DiscountStepList" />
</xsl:template>
<xsl:template match="/DiscountStepList">
<ns0:Loyalites>
<xsl:for-each select="DiscountStep">
<xsl:if test="position() =1">
<Loaylty>
<MinTrip>
<xsl:value-of select="position()" />
</MinTrip>
<MaxTrips>
<xsl:value-of select="NumberOfTrips/text()" />
</MaxTrips>
</Loaylty>
<xsl:call-template name="ConstructNextLoayltyNode">
<xsl:with-param name="i" select="2"/>
<xsl:with-param name="limit" select="count(/DiscountStepList/DiscountStep)"/>
<xsl:with-param name="vMaxTrips" select="NumberOfTrips/text()"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
</ns0:Loyalites>
</xsl:template>
<xsl:template name="ConstructNextLoayltyNode">
<xsl:param name="i"/>
<xsl:param name="limit"/>
<xsl:param name="vMaxTrips"/>
<xsl:if test="$i <= $limit">
<Loaylty>
<MinTrip>
<xsl:value-of select="$vMaxTrips + 1" />
</MinTrip>
<MaxTrips>
<xsl:value-of select="$vMaxTrips + 1 +/DiscountStepList/DiscountStep[$i]/NumberOfTrips/text() " />
</MaxTrips>
</Loaylty>
<xsl:call-template name="ConstructNextLoayltyNode">
<xsl:with-param name="i" select="$i+1"/>
<xsl:with-param name="limit" select="$limit"/>
<xsl:with-param name="vMaxTrips" select="$vMaxTrips + 1 +/DiscountStepList/DiscountStep[$i]/NumberOfTrips/text()"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
Note: You may have to change the namespace as yours. And also the output sample you have show has repeated node as following which is correct.
<Loaylty>
<MinTrip>36</MinTrip>
<MaxTrips>41(36+5)</MaxTrips>
</Loaylty>
<Loaylty>
<MinTrip>36</MinTrip>
<MaxTrips>41(36+5)</MaxTrips>
</Loaylty>
For your requirement you will get the out as following which your requirement:
<ns0:Loyalites xmlns:ns0="http://BizTalk_Server_Project7.Schemdfa1">
<Loaylty>
<MinTrip>1</MinTrip>
<MaxTrips>35</MaxTrips>
</Loaylty>
<Loaylty>
<MinTrip>36</MinTrip>
<MaxTrips>41</MaxTrips>
</Loaylty>
<Loaylty>
<MinTrip>42</MinTrip>
<MaxTrips>72</MaxTrips>
</Loaylty>
</ns0:Loyalites>
Regards,
M.R.Ashwin Prabhu
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
Duplication of a template with a unique changing element
As part of audiobook creation disc labels are created. A master template is created for the general format and then adapted for each unique title. However, most titles have multiple CDs (up to 30 or 40 discs). Need to find a way to carry every element of the master over except for the numbering sceme, which would auto change per disc. For example. One would enter that the book is 30 discs. Then a process would create 30 copies of the template with all of the stock template info but would show disc 1, disc 2, disc 3, etc for each procceding file. Each file is then turned into a PDF. So if the process could include automation for PDF conversion that would be a bonus. Thanks.
Hi alruden2,
For the first issue of needing to duplicate the effect, it seems you don't have to do that to fix it -- just change one of your popup values to something else, then back to its previous value. We're trying to figure out why the duplicate of the comp is causing a different result, though.
As for the issue of "FilterComp2Comp" and "FilterComp2" rendering differently, it's probably because each has your PB effect applied.
As for your crashes, do they show the Adobe Crash Reporter dialog? If so, please do fill out the form and provide as much information about what you were working on and doing at the time. Include your e-mail address in case we need to contact you for more details.
Thanks,
Jeff -
Hi All,
I'm just transferring to my new office that uses FTP as a means of storage for sensitive data. At first i can connect to ftp servers easily using windows explorer. But over time, when i'm about to connect to ftp server, the windows explorer replied
Windows cannot access this folder. Make sure you typed the file name correctly and that you have permission to access this folder. Details: Element not found
I can access the ftp server using IE or another web browser, even using WINSCP and other ftp file transfer software. I need to be able to connect to ftp server using windows explorer again. Can any of you help?
The ftp.exe is not blocked in firewall rules (i've checked).
Any comments/helps are appreciated.Hi,
Firstly, make sure you have enable "Enable FTP folder view (outside of Internet Explorer)" setting:
Internet options -> Advanced -> Enable FTP folder view (outside of Internet Explorer)
And then try use mapping network drive:
1.Click on Computer.
2.Click on Map network drive from the menu.
3.Map Network Drive window will open. Now click on the link
Connect to a Web site that you can use to store your documents and pictures.
4.Now simply follow the step by step wizard to add a new network location. Select
Choose a custom network location when given the choice of where to create this network connection.
5.Type your ftp address. Specify a user name and password if required.
6.Give your newly created network location.
Alternative, use the registry method that was marked as answer in the following thread to fix it:
http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/this-ftp-site-cannot-be-viewed-in-windows-explorer/e699d41e-98ae-48c1-9231-d570d46c0f38
Karen Hu
TechNet Community Support -
Accessing SAP:HopList element in message header from JAVA-mapping
Dear Experts,
Is it possible to access the SAP:HopList element from message header in JAVA-mapping?
I need this to get the list off all receivers of current message (I have a ReceiverDetermination with two receivers, without any conditions, so both receivers are receiving each message and in InterfaceDetermination to one of the receivers I have a JAVA-mapping, in which I need to know the name of another receiver. And the SAP:HopList is containing this information).
Or maybe where is some other solution?
Best Regards,
Artsiom AnichenkaThat's tricky, since the proper way of doing it would be through BPM.
Anyway, if you expose your XI interface as a WebService (Soap sender cc) you could access it through Mapping Lookup (lookup works for RFC, DB and Soap lookups). Check https://help.sap.com/javadocs/NW04S/current/pi/index.html
But be aware that Mapping Lookup API is not intended for inserts/updates (since it doesn't contain any transacational handling), just mere lookups (selects in tables), so I'm not sure it is the best approach for your case.
Regards,
Henrique. -
When I zoom in to see all the details of a photograph with photoshop elements 8 the photo become pix
When I zoom in to see all the details of a photograph with photoshop elements 8 the photo become pixelated. is there a way I can anti alias the photo after I blow it up?
Hi ,
Anti- alisa feature only available to text layers not image layers.
you can add blur to make it smooth (if image has not too much details ).
thanks, -
How to map more than one xml element with some Paragraph in a Text Frame
Hi friends,
I am new in InDesign Java Scripting and I have to place or map, more than one xml elements of different parents, into one textbox. Is it possible through JavaScript? Can anyone help me in this because I have no idea how it should work and it urgently required.
Thanks in AdvanceI had answered to you already in your first post: the short answer is that it's not possible on the same text box unless you assign a common ancestor of these two "parents" item. That's not a question of scripting, it's the way Indesign handle the XML with the layout. Import a xml in Indesign and drop tags to page item. What you can do manually is quite representative of what can be done through scripting.
If you assign this anscestor to the text frame, you have to expect that all text child items will be displayed in the text frame (including the text of all the child of the two "parents" and all the other parents/childs that could be under the common ancestor). Having a XML that is designed for Indesign usage is pretty much inevitable if you are doing anything "serious". -
Container Element in the Mapping UDF
Is there any way that to access the BPM container Element in the Mapping UDF. Can some one share the UDF code for this
Hi,
Refer BPM Container Element and Container in UDF Relation
BPM Container Element and Container in UDF Relation
Creating the container Object In Java Mapping
Thanks
swarup
Maybe you are looking for
-
Re: problems creating spatial index !!!!
hi! Guys , I am running Oracle 9.0.1.1.1 on windows 2000 professional. I am creating a spatial index on a table column. When i try to create it from sqlplus command prompt .. it errors out END OF FILE ON COMMUNICATION CHANNEL .. It was suggested to b
-
Realise n:m table structure
Hello, i want to build up an editable n:m table structure with apex. can someone give me a hint, which is the best way to do it? I've worked myself through all tutorials and examples, but i can't find anything about this topic. Here is a description
-
FLV gone from Media Encoder - which formats work on iOS anymore?
The withdrawal of the FLV format has thoroughly confused me. FLV is the only video format I've ever succesfully worked with in AIR apps on iOS. MP4, MOV etc. - all these formats never played when I tested them on iOS devices. Only FLV. I know that St
-
How to use flex 4 component inside Flex 3 custom component
<?xml version="1.0" encoding="utf-8"?> <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" > // I would like to use the namespaces below so that I can use some of the Flex 4 components in this mx:VBox component. // Note that this is a custom compone
-
Erractic Audio Playback in Pr CC
I am experiencieng erractic audio playback. Each time I hit the spacebar one of three things happens: - No audio is heard, but levels are seen - Audio plays back but is distorted - Audio plays back fine. Stopping playback, waiting a few seconds, the