Hello All
I am calling an api in CS module and that API action i have used in one public server action. And this server action i have consumed in UI module. Now when i am debugging application i am getting all the values for all response fields in CS Module.
Whereas i am getting few fields empty in UI Module.
So in Following screen shot i am getting data after API Call for all Attributes in CS Module.
But in UI Module I'm getting Empty fields for Country Region and VAT_NUMBER.
Can anyone please help me in this?
Thanks.
If you are not actually doing anything in your UI with those fields, it is perfectly normal they are empty on client side.
Hello @Dorine Boudry
Thanks your suggestion helped me.
Thanks
Sanjay
Hello AaryanCheck if your references are updated, if you struct has the attribute "name in json" field filled in correctly and double check your output struct to your UI Module, check if the mappings are correct.Also, double check the struct field types, they must match correctlyBest regards,
Lucas
Hi Aaryan,
Check the below points:
Using same structure in CS & UI module.Any mapping missing while assignment.Are you reassigning the Country Region and VAT_NUMBER value any where.
RegardsKrishnanand Pathak