Display Data from Server API

Hey :slight_smile:
i hope someone can help me :slight_smile:

I try to Load API Data on Serverside and Display this on the page
(Reason is Cross Errors)

I have add a Server API and Define the API Schema.

Add ServerConnect and add the Data to the Heading Field:


The Result is everytime Empty:

Whats wrong? :smiley:
(Sorry i’am a beginner with Wrappler)

A beginner is a great place to start. :slight_smile:

First lesson, you don’t have to guess when troubleshooting.

Start by having a look in the browser developer console to see what your serverconnect1 is returning.

By clicking on your server connect and preview, you will see the output it is sending. That will guide you to your next step.

Thanks for help :slight_smile:
Here is the Screen, but for me it’s all good :smiley:

That looks like a string of json being returned by the api, rather than a json object.

After your api action, add a set value action, tick output, and set the value to:

nwrp_data.data.parseJSON()

Then use the output from the set value, instead of the api.

You should see a difference in the console between the two.

Yes, something has changed :smiley:

But the value isn’t display :frowning:
I don’t know why…

The value of test looks good, so now you would point to that on your page, instead of the api. You should be able to select it in the picker.

So instead of serverconnect1.data.nwrp_data.data.clients use would use serverconnect1.data.test.clients

You are my Hero!
Thank you very mutch!

But why? :smiley:

Edit:
Nothing Edit, its to late :smiley: