Good Day Community,
It has only been a while since I started using outsystem, 10.0.906. One of my dilemma is how to create a dynamic output entity or structure for the advance sql.
Why you ask and the output should be fixed? It's because the selected attribute will be based on the user. One user might only want two columns of the entity while the next user would need three.
The image below is the normal output, so if i want a dynamic select query I still need to follow the total column count of the Account entity even if only two columns is needed.
The image below is one solution and that is to create a structure with two attributes but if I pass a selected fields with more that 2 attributes then only two will be returned.
This is why I'm asking if you may have an idea on how to approach this dilemma. Thanks