I hope you will answear me :) ... I have a requirement , in my database table in one field i store json string but not pretty printed. Just as a normal string but json. I need to display this field in fiori but in pretty format.. Any idea what to do?
If you want to display formatted JSON in the List Report table, you’ll need to extend the Table Column using a custom control and formatter. I mean add custom column in list report and use formatter.
So nice of you mam....the way of teaching is just ✨️
Thank u
great content i have seen till now 👏... can you make video how to do CURD operations from this data .... THANK YOU ☺
Video uploaded plz have a look.
Thank you. It means a lot😊
Nice intro 🤭🤭 Hello fiori developers 😅😅
How can we create such columns, search bar and that page, how the write that code, can you please make video on that too?
Already I make a video regarding to add columns. Plz have a look.
I hope you will answear me :) ... I have a requirement , in my database table in one field i store json string but not pretty printed. Just as a normal string but json. I need to display this field in fiori but in pretty format.. Any idea what to do?
Try like this var oParsedJSON = JSON.parse(sJSON); // Parse the JSON string
var sPrettyJSON = JSON.stringify(oParsedJSON) here sJson is ur string data
@@SakethSingana10720 I do know that in javascript, but on what place do I put it if I use fiori generic list report
where do I control it?
If you want to display formatted JSON in the List Report table, you’ll need to extend the Table Column using a custom control and formatter. I mean add custom column in list report and use formatter.
@@SakethSingana10720 sorry, acutally when i click on object and I am brought to the object page, I need to display it there
@nemanja4929 Add Custom Formatter in UI In your ObjectPage view, bind the field to a sap.m.TextArea. Like below
Please support channel. Thank u
After the project creation. ,I'm getting console error,resource not found
Check the index file
while trying to edit the data or create object getting an error as: the 'Content-ID' header must be an integer value.
Instead of use northwind try to use ur own service then it will work
@@SakethSingana10720 why does it not work with northwind any idea
U are trying to edit public service. It will not support
Are you teaching as well?
No