Discussions tagged XML
How to export master-detail datawindow data to UBL-Invoice-2.0 template's XML file?
- Resolved
- How-to
- Last updated 9 months ago
- Chris Pollach @Appeon replied 9 months ago
hi GURUs,
Would like to get your advise how PB datawindow XML template can be build according to UBL-Invoice-2.0.XSD and ultimately the datawindow can export to XML format accordingly (see example output xml file einvoice.xml as attached). Please f...
How can i solve this System Error using the PBDOM in Powerbuilder 2019 built 2170?
- Issue
- Last updated 9 months ago
- Desarrollador 1 replied 9 months ago
Good morning,
During these days an automatic process is carried out from my PB application.
When working with XML files, I use the PBDOM and when reading XML files and then making inserts to the DB, I get this error, which can be seen in the Image....
PowerBuilder 2022 gives blank result when exporting datawindow to XML, when PB 2017 did not.
- Resolved
- Issue
- Last updated 1 year ago
- Miguel Leeuwe replied 1 year ago
We have a piece of code that exports XML from datawindows to make an extract between our system and another.
This has not been tried in development as it was a link only available in one site's production environment.
Other XML extracts do work ...
Call webservice with XML in one parameter
- How-to
- Last updated 1 year ago
- Roland Smith replied 1 year ago
Hi there,
I need to call a webservice using HTTPclient.
The service have several parameters (strings) and one parameter should contain XML-query.
When post with XML-query 400/Bad request is returned. With empty parameter 200/Ok is returned.
Ho...
Cast as XML sql stmt crashes IDE
- Resolved
- Advice
- Last updated 1 year ago
- Tim Bruce replied 1 year ago
PowerBuilder version: 2019 R3 Build 2779
SQL Server 2019
ODBC Driver 17 for Sql Server
Can you cast to XML in PowerBuilder? This stmt crashes the IDE. txt is a varchar(max)
SELECT cast(txt as xml) into :ls_string from documents where doc_id = 1...
Unable to set 'XML' template for Data Export in a datawindow
- Resolved
- Issue
- Last updated 1 year ago
- Peter Pang @Appeon replied 1 year ago
Hello,
With Powerbuilder 2022, we are unable to save any datawindow object with 'XML' as template in 'Data Export' tab of datawindow object properties. Once saved, closed and opened again, the 'Format to Configure' property is changed to 'PDF'.
In...
How to create XML files in UTF-8?
It seems that windows always produces UTF-16LE files, but I need it to produce in UTF-8.
Example code I've already tried:
PBDOM_Document xml_doc
PBDOM_ProcessingInstruction xml_process
PBDOM_Element xml_root
co...
Generate DataWindow object from XML file structure
- Resolved
- How-to
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
Hello,
Is a simple way to generate a DataWindow object from an XML file? I have an XML file and can I quickly create/generate DataWindow based on this file structure ?
Regards
Pawel...
Hello,
We are testing Powerbuilder 2022 before installing it on our working environment.
When we generate XML files through the datastore's SAveAs feature using an xml template, the first line of the XML file always ends with character LF (Unix mod...
Hi all,
I use Powerbuilder 2021, build 1506
I want to export Data once datastore is retrieved. Simple as that.
I got XML Template like this (this is extraction from Edit source of datawindow):
export.xml(usetemplate="efaktura_avans" headgroups="1...
Can anybody suggest a solution to apply c14n11 canonical algorithm in a xml file....
ImportFile for XML file returning -4
- Resolved
- How-to
- Last updated 2 years ago
- Aron Cox replied 2 years ago
PowerBuilder 2019 R3 build 2728
Windows 10
I am having a silly isue that is probably all my fault, but I can't seem to work it out. I am exporting four datastores to an XML file using this command
ads.SaveAs(as_file, XML!, true, EncodingU...
Problem passing XML to Web API using HttpClient
- Resolved
- Advice
- Last updated 2 years ago
- Daryl Foster replied 2 years ago
Does anyone have either
any successful examples of using HTTPClient to consume a .Net Web API that requires XML to be passed to it? OR
know why I’m receiving the error\issues below when trying to pass the XML?
I’m using PowerBuilder 2021 Profe...
edit items in a ribbonbar
- Resolved
- How-to
- Last updated 2 years ago
- Mark Lee @Appeon replied 2 years ago
We have a complex (400 item) menu built in PB 2017. This menu is also viewable as a tree view.
I am trying to convert the menu to a ribbonbar.
The security code for the menu looks hierarchically through the menu at the tag of each menu item and ...
Are there any alternatives available in PowerBuilder that assist us in creating XSLT for a Datawindow?
I've been experimenting with the XML Template in the DataWindow Painter and it appears to be able to rename the elements, add attributes and some ...
WebBrowser not working with XML files
- How-to
- Last updated 2 years ago
- Kai Zhao @Appeon replied 2 years ago
I have a problem with new Chromium based WebBrowser to show XML-files in spite I have used constructor and WebBrowserSet("allow-file-access-from-files","true") seems that it only reads first row. Files like *.pdf or *.jpg are shown correctly.
XML-f...
Hi.
Is there a way for pretty print XML?
We receive on long string of XML data, but want to pretty print this in a MLE og RTF edit for better viewing.
An online REST solution could work, but I cannot seem to find any.
br,
Bjarne Anker
...
Hello all
I am trying to read an xml file from my app - just using the standard way . fileopen , fileread , pos and mid to get the data .
The file contains Hebrew letters which shown on screen as symbols .
I have tried encoding ans so on but n...
Hello everyone!
I have request to create XML invoice file and electronically sign it with general electronic signature (xmldsig) or advanced electronic signature (XAdES).
Did anyone worked on something similar in PB and could give me any advice?...
MSXML2 Load XML not working in Azure
- How-to
- Last updated 3 years ago
- René Ullrich replied 3 years ago
I'm attempting to use the LoadXml() method of an MSXML Dom Document in an azure environment and it simply isn't working. When running on non-azure environments it works fine.There is no dev environment for our azure server yet so I can't view the err...
- Page :
- 1