21
Views
5
Comments
[Portugal Postal Code CTT] Only retrieves Municipality
Question
portugal-postal-code-ctt
Service icon
Forge asset by Leonardo Pires
Application Type
Service
Service Studio Version
11.54.9 (Build 62390)

Hi,

I'm trying to use this asset, which looks great!

But... it only returns the Municipality... What can be wrong?

Thanks!

2019-02-27 17-48-20
Caldeira81

hi, the  input parameters that you are putting are only the postal-code? witch is it?


Regards,

2023-11-10 11-46-42
Diogo Barbosa

Hi @Caldeira81 ,

I think I found the problem. If I run it inside a server action, then it retrieves all data.

I was in a client action...

thanks!

2023-01-05 17-39-49
Leonardo Pires
Champion

Hi Diogo.

Glad you were able to solve your question, you can have more details by accessing the demo attached with the component.


Regards

2021-04-09 12-35-11
Tiago Babo

Hi!

Are you using more than just the Municipality attribute in your screen?

If not, what might be happening is the outsystems platform trying to optimize your resulting code for performance, and one of the examples of that, is that it won't bring back any data from the server to the client unless you use it.

Best regards,

Tiago Babo

2023-11-10 11-46-42
Diogo Barbosa

Thanks, 

outside the debug it works, the problem must be related to the debug...

well it's fine for now :)


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.