-
Rinku Karda
- PowerBuilder
- Monday, 10 February 2025 10:17 PM UTC
Hi All,
If I have the JASON file with columns( empid, empname, empdept,empgrade)
and I am trying to import the above JASON file to tabular datawindow in PowerBuilder(Ver#2017) with column names( d_empid, d_empname, d_empdept, d_empgrade)
My question is: Will datawindow.importJason() funtion work if column names are different in both? the datatype is same in both,
Can we change the mapping method to Index instead of colname& how? in order to accept the Jason data without changing Powerbuilder datawindow.
I tried changing the mapping as below but it is throwing Invalid datawindow property:
Dw_emp.Object.DataWindow.Import.Json.MappingMethod =1// IndexBased!
Request your quick response.
Thanks in advance,
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.