So is this Possible to update already existed Receiver Flat/XML File ?
HI ,
On Receiver File (FTP) Side ,So is this Possible to update already existed FLAT/XML File with some values using Receiver File Adapter??
Like I have 3 Columns in a Flat File/XML File :-
Name, Deptid, Expenses.
NameA, 8000, -
Currently Blank -
NameB, 1000, -
Currently Blank----
Now I want to Update Existing Flat file from Receiver File Adapter
After Execution of scenario, Fileon FTP server would be Updated like this
Name, Deptid, Expenses.
NameA, 8000, 18000
NameB, 1000, 25000
So is this Possible to update already existed FLAT/XML File with some values using Receiver File Adapter?
I am dealing with similar type of scenario..
If that way it is not possible , So please guide me what other workarounds can be done ..........???
Does FTP Sender Support Synch Call... ???
regards
Similar Messages
-
Hi ,
We have a catalog that defines 2 types of products (they have too many different properties), so wanted to keep them on two different MDEX engines and serve the applications requests. Here DB catalog and front end ATG application is same for both the MDEX instances.
Is it possible to have 2 different output config XML files and index the data into 2 endeca apps using the same indexing component ProductCatalogSimpleIndexingAdmin?
Thanks
DevHi, also have had some problem some monthes ago - I created separete component ProductCatalogSimpleIndexingAdminSecond. After that one of my colleage gave me some advice:
The creating separate component like ProductCatalogSimpleIndexingAdmin for the second IOC is possible way for resolving your situation. But I afraid that this way will be required creating mane duplicates for already existed components.
In my opinion the better way is the following:
starting from AssemblerApplicationConfiguration and ApplicationConfiguration component. It contains details for connecting between ATG and Endeca. Of course you should configure different components for different Endeca Apps.
After that:
Find all components that uses AssemblerApplicationConfiguration and ApplicationConfiguration. Customize these components for using one or another *Configuration component depending on what index works. (many variants released it: the most simple global custom component with flag.)
Then customize the existed ProductCatalogSimpleIndexingAdmin. Using one or another IOC and setting the flag in global custom component when index started. You can add some methods into your custom ProductCatalogSimpleIndexingAdmin like:
Execute baseline index for both IOC (one by one)
Execute baseline for IOC 1
Execute baseline for IOC 2.
Note: you should be afraid about incremental (partial) index in this configuration. But resolving conflicts in incremental index should be done after full implementation these changes.
Regards -
Revision: 15129
Revision: 15129
Author: [email protected]
Date: 2010-03-30 06:17:55 -0700 (Tue, 30 Mar 2010)
Log Message:
Update the sample jgroups-tcp.xml file with proper explanations of each property after reviewing the JGroups documentation. This is still work in progress.
Modified Paths:
blazeds/trunk/resources/clustering/jgroups-tcp.xmlIt seems you are asking in wrong forum. AFAIK, you are asking "how to add HTTP header to response generated by my own script". It depend on WWW server we are speaking of and language of script itself. If you will fail to found solution within documentation of the HTTP server and/or scripting language you are using, then the better place for your question is a forum related to such language and HTTP server.
In meantime, you can try other solituin. The "Refresh: 0;..." header is required for correct function of SoftKey:Next which is displayed by default. But you can redefine the content of SoftKey area using your own key. Such configuration is part of DirectoryObject you sent to phone. See definition of SoftKey 3 in example bottom. It's not original SoftKey:Next that depend on Refresh header. It's my own custom soft-key named "Next" with exact URL defined as part of key definition (replace 'N' with number of next page). It doesn't depend on Refresh header in any way. You should consider such advice as "temporary workaround". You should discover how to send HTTP header 'Refresh' from your script. Note, it's not possible to redefine one SoftKey only. If you wish to redefine a soft-key, then all soft-keys need's to be defined by you.
... followed by Title, Prompt,up to 32 ...
Dial
SoftKey:Dial
1
EditDial
SoftKey:EditDial
2
Next
https://an-url-to-your-server-and-script/test-Directory.asp?page=N
3
Cancel
SoftKey:Cancel
4
Exit
SoftKey:Exit
5 -
Updating EXIF date/time in XML files (Bridge CS4)
Is there a way to re-read the EXIF date/time information from RAW camera files and update that existing information in the XML files?
To my knowledge not with Bridge, maybe with a script.
Basically the problem occurs while using multiple camera's that have not all the same correct date and time. To my experience the quickest way is to bite the bullet once and using the filters for date time for each dslr and apply labels to each dslr, then manual select the correct sequence and rename the whole bunch with a sequence number in front of all the filenames so you can use filename to sort the correct order.
And after this of course check next time all date and time settings before starting a new job :-) -
Using Java, How can I Update, Add, Delete nodes in XML Files.
Hi,
I want to store the student record (like Name, Age, school name, total mark etc.,) as nodes in the XMLfile. Also I should able to Update, Add, Delete any nodes (student record) in the XML file. How can I achieve this...using Java
I am able to read the content of the xml file using xml-parser. But my problem is
updating the xml file.
pls suggest some solutions or links with " example source code"
Thanks :-)There are 2 kinds of XML parsers : SAX and DOM. DOM seems to suit your need. You can use JAXP APIs to add, delete or change nodes or attributes.
http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/TOC.html provides contents that would satisfy most of the needs.
To save a DOM modified XML file use java IO APIs to write to the same file from which it was read using a Document object ( doc.getNodeValue() ). -
Is it possible to search for keywords in an XML file?
Hey all,
I'm currently searching for ways to count the number of pre-defined keywords in an XML file. An example would be trying to find how many times "war" is mentioned in a news networks RSS feed <title></title> and adding it to a variable.
I've found a few custom AS3 XML class files out there but nothing I've been able to adapt. I'm at the point of considering just taking the title of these news stories converting them all to strings and searching them that way...
I'd be grateful for any help
Thanks!An XML element can have multiple attributes such as:
<title keyword="war" category="international">War Breaks Out in the Middle East!</title>
In the above example, the XML element <title> has 2 attributes named keyword and category.
So in my example I'm searching for the attribute named "keywords" within the element <newsItem>.
The XML document could be formatted something as the following:
============
<someNewsFeed>
<items>
<newsItem keyword="war" category="international" url="www.cnn.com/headline2010020111">War Breaks Out in the Middle East!</newsItem>
<newsItem keyword="healthcare" category="politics" url="www.cnn.com/headline2010020321">Healthcare Bill Still Has Some Hurdles to Jump</newsItem>
<newsItem keyword="lady gaga" category="entertainment" url="www.cnn.com/headline2010020981">Lady Gaga Has 360 Reach</newsItem>
</items>
</someNewsFeed>
===========
So in my example, the if/else loop is looking through each XML node named <newsItem> and when it finds it, it then see if it has an attribute called "keyword" and if it does, it then looks to see if it contains the word "war". If it DOES, then it will do the proceeding actions.
===========
if (newsFeed.items.newsItem[q].attribute("keyword") == "war") {
warKeywordCounter == warKeywordCounter+1; //increase your keyword counter
trace("Current value of warKeywordCounter = "+ warKeywordCounter);
==========
I'm assuming you already know how to load external XML documents into flash.
I hope this helps.
Message was edited by: dchaparro
Corrected if/else code to include right parentheses. -
Is it possible that 1 RTF template with 1 xml file produces many PDF files
Hello,
We are using XML publisher with eBS.
As part of it, we've got treatments that generate invoices.
One treatment produces 1 big XML file with many invoices in it.
Currently, this big XML file generates one big PDF file with all the invoices.
I'd like to know if it's possible to keep the big XML file (with many invoices), and instead, generate 1 PDF file per invoice ?
Basically we would like to split the big PDF file into small PDF, one PDF file per invoice .
If it's possible, then, how can we do it ?
I hope my explanation is clear.
Thanks in advance for your help,
OlivierHave you tried the BI publisher bursting feature?
Take a look at this:
http://www.strsoftware.com/wp-content/uploads/2011/09/Oracle-EBS-and-BI-Publisher-Report-Creation-Bursting-and-Delivery.pdf
http://garethroberts.blogspot.com/2008/03/bi-publisher-ebs-bursting-101.html
Thanks,
Bipuser -
Update articles loaded with sidecar.xml file
I've used a path-based sidecar.xml file to load a folio, which worked great. Now I've made fixes on the files and want to Update them, but I get an error message when I try. I also tried to "Relink" the files, which has worked in the past but now doesn't. I have alternate layouts for iPad and Retina versions, and the sidecar is set to select the Retina layout. Has the v32.1 update changed anything about this? Is there a workaround?
Thanks, BethI've used a path-based sidecar.xml file to load a folio, which worked great. Now I've made fixes on the files and want to Update them, but I get an error message when I try. I also tried to "Relink" the files, which has worked in the past but now doesn't. I have alternate layouts for iPad and Retina versions, and the sidecar is set to select the Retina layout. Has the v32.1 update changed anything about this? Is there a workaround?
Thanks, Beth -
Updating Metadata with a sidecar.xml file...
... forces the app to be redownloaded again in ACV even if we have not made any modification in the articles.
Why modifying the sidecar.xml file creates this unnecessary and time consuming process ?You use the web interface of xmlsidecar generator made by Johannes Henseler and the push the button there "generate". Copy paste that into a plain text file and then change tex extension from txt to xml. That's how you do a sidecar.xml the easy way.
Afterwards, yo've got to import "multiple files" (or "many files"... my DPS is a Spanish one) from Folio Builder.
If the folder are structured properly, folio builder will start swallowing the data of sidecar and uploading the articles.
Right now, while posting this, my pc is doing that with about one hundred articles. As happy and busy as a beaver in heat
Gustavo (Posting from Madrid) -
Hi everyone,
I need HELP I have a bunch of vector clip arts, which are Black (C,M,Y,K100). I need it in 35 different colors Saved as Illustrator 8 EPS and I also need those file in 72 DPI PNG Transparent files.
Thanks for any help.
Akkudo.Good evening,
0) In your templates give a specific namme to each path or groups or items via the layers window.
The objective is to use a script like these two:
Set myLayerCercle = my_Laieur_elements.GroupItems("Laplupart").PathItems("LaplupartCercle")
myAiApp.Redraw
myLayerCercle.FillColor.Spot.Color.Cyan = 0
myLayerCercle.FillColor.Spot.Color.Magenta = 100
myLayerCercle.FillColor.Spot.Color.Yellow = 80
myLayerCercle.FillColor.Spot.Color.Black = 0
myAiApp.Redraw
or
textRef.Paragraphs.Add ("myNewText")
textRef.Paragraphs(1).ParagraphAttributes.Justification = aiRight
textRef.Paragraphs(1).CharacterAttributes.Size = 12
textRef.Paragraphs(1).CharacterAttributes.HorizontalScale = 10
textRef.TextRange.CharacterAttributes.BaselineShift = fontBaseLineShift
textRef.TextRange.CharacterAttributes.TextFont = myAiApp.TextFonts.Item("Times")
textRef.TextRange.CharacterAttributes.FillColor.Black = 0
textRef.TextRange.CharacterAttributes.FillColor.Magenta = 100
textRef.TextRange.CharacterAttributes.FillColor.Yellow = 0
textRef.TextRange.CharacterAttributes.FillColor.Cyan = 0
If you agree please send your eps file via my email. I could be than more efficient.
Have a good evening
Patrice
*) open an office sofware (Word or Excel) and go to the Visual basic editor (alt+F11) and
copy and paste these script; replace nom_docAi with your eps file name
Public nom_docAi
Sub myPrg()
call OpenAi
call openBaseFile '= open the eps file
call myRectangle(100,100,200,300)
call saveEPS(nom_docAi )
call savePNG(nom_docAi )
end sub
Sub OpenAi()
'*** le fichier excel et illustrator se trouvent dans le même répertoire
myPath = ActiveWorkbook.Path
'*** Définition de la variable "application"
Set myAiApp = CreateObject("Illustrator.Application.CS4")
End Sub
Sub openBaseFile()
'*** Définition et ouverture du fichier illustrator de base
nom_eps = "cycle.eps"
'nom_docAi = myPath & "\" & nom_eps
nom_docAi = "G:\graph" & "\" & nom_eps
Set myDocAi = myAiApp.Open(nom_docAi, 1)
End Sub
Sub saveEps(myPictureName)
'*** Sauvegarde fichier
Set myDocAi = myAiApp.ActiveDocument
Set myEpsSave = CreateObject("Illustrator.EPSSaveOptions.CS4")
myDocAi.CropBox = myDocAi.VisibleBounds
myEpsSave.EmbedAllFonts = True
myEpsSave.Preview = aiColorTIFF
myEpsSave.postscript = ailevel3
myAiApp.ActiveDocument.SaveAs myPictureName, myEpsSave
End Sub
sub myRectangle(x, y, LenghRect, HeightRect)
'*** Sélection du calque recevant les rectangles
Set Laieur = docAi.layers("data")
myAiApp.Redraw
Set myRect = docAi.PathItems.Rectangle(y, x, LenghRect, HeightRect)
myRect.FillColor.Cyan = 0
myRect.FillColor.Yellow = 100
myRect.FillColor.Magenta = 35
myRect.FillColor.Black = 0
myRect.Stroked = False
myAiApp.Redraw
'mTab = myCColor(mType)
End Function
Sub savePNG(myPictureName)
'*** Sauvegarde fichier
myPictureName = Replace(myPictureName, ".eps", ".png")
Set myAiApp = CreateObject("Illustrator.Application.CS4")
Set docAi = myAiApp.ActiveDocument
Set pngExportOptions = CreateObject("Illustrator.ExportOptionsPNG24.CS4")
pngExportOptions.AntiAliasing = True
pngExportOptions.Transparency = True
docAi.Export myPictureName, aiPNG24, pngExportOptions
End Sub -
Update XML files with a PHP form...
Hi,
I would like to know if its possible to update or insert data
to XML files from a PHP form? And how can I do it? Basically i want
to create a backoffice for my XML Flash slide show.
Can anyone help me?Indirectly, I suppose. In that you'd have to handcode
verything. There's
nothing built-in to DW to accomplish this task. The simplest
way of doing it
is to use the FSO to write out the XML to an XML file.
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004 -
Update XML files with HTML forms...
Hi,
I would like to know if its possible to update or insert data
to XML files from a HTML form? And how can I do it?
Does dreamweaver have any extension that does this?hi bregent!
im using php.
i have a xml flash slide show script, and i want to insert
this slide show on a site. No problem here, but i would like to
create a backoffice were i can update or insert the pictures of the
xml slide show.
can you help me on this? -
Is it possible to Update Supplier name through API
Hi Folks,
Kindly suggest me that is there any possibility of updating the existing Supplier name through API's.
If it is possible kindly suggest me the API or Weblink for that.
Thanks in Advance
RajHi Raj,
With patch 17575099:R12.AP.B, Oracle has provided three public API's for updating supplier information. The new API's are the following procedures in the AP_VENDOR_PUB_PKG (appvndrb.pls) file:
Update_Vendor_Public
Update_Vendor_Site_Public
Update_Vendor_Contact_Public
I hope this helps.
Cheryl -
When I try to sign in to the support community using one of my e-mail addresses and I put in nothing or what I thought was my apple support community user name I can get one of several messages
Ie.1. Please specify a user name
2.An account using this e-mail address already exists; only one account per e-mail address is allowed on Apple Support Communities
How do I find out what my Apple Support Communities user name isGood luck with this!!!
EVEN USING what WAS my Username, this is the exact problem I am having having entered my correct ID and Password.
Rgds
Rod -
How to know if a particular CWPlot already exists in a CWGraph (VC++)?
I would like to add a CWPlot to a CWGraph only if this plot doesn't already
exist within the CWPlots collection.
The problem is that when I call "myGraph.GetPlots().item((COleVariant)
"PlotN")", an exception is throwned if the CWPlot named "PlotN" doesn't
exist.
I do have a workaround : testing all the names of CWPlots collection untill
I find (or not) the right name, but as I have a lot of plots in my graph, it
is very time expensive.
Is there a more elegant way of knowing a plot presence in a graph ?Georges:
Exceptions are the way that C++ handles all errors, and it's okay to catch exceptions yourself and process them however you like. In this case, for example, I would recommend trying the Item() call and catching the resulting exception. Examine the exception, and if it is one complaining about an "Invalid Index", then you can add the plot and suppress the exception from propagating up the call stack. Here's an example of what I mean:
//==============================================================================
// Return the requested plot. If it's not there, then add it and return it.
//==============================================================================
CCWPlot CGeorgesDlg:martGetPlot(CCWGraph &graph, LPCTSTR name)
CCWPlot plot;
try {
plot = graph.GetPlots().Item(COleVariant(name));
catch(COleDispatchException *e) {
// If it's not the exception we're looking for, let it go up the call
// stack, otherwise ignore it.
if(e->m_scError != 0x800A0005) /* invalid index */
throw e;
e->Delete();
// If an exception occured, then add the plot.
if(plot.m_lpDispatch == NULL)
plot = graph.GetPlots().Add();
plot.SetName(name);
return plot;
You could use this helper method to access plots. For example:
void CGeorgeDlg:nModifyPlot()
SmartGetPlot(m_graph,"Plot X").SetEnabled
(TRUE);
// or
CCWPlot MyPlot = SmartGetPlot(m_graph,"Plot Y");
// work with MyPlot variable....
I hope this helps,
Chris W.
National Instruments
Maybe you are looking for
-
Delete Workitems in PI 7.1 at Transaction SXMB_MONI_BPE
Hello, I am new here and working at an integration process at PI 7.1. While testing it, only one process instance produced many many workitems with status completed. I recognized that all trials to start a new process instance failed, because the pro
-
Universe object that returns the number of rows in table?
Is it possible to create a Universe object to support the following SQL query: SELECT * FROM (SELECT ROWNUM rownum1 FROM TABLE) WHERE rownum1 = (SELECT (MAX(ROWNUM)) FROM TABLE)
-
i need a code for this... write a class for "myxmlparser" to parse "*.xml" fileto "*.dtd" file. sundar
-
Hello, My windows regional settings are Turkish. I have ODTwithODAC1110620 installed for VS2005 & VS2008. While creating a connection from server explorer, I enter necessary things and press test connection: "Test connection succeeded.". After I clic
-
What are the steps for setting up a Pre-Query? Thanks, TMS