Dashboard

Profile level : Anon

0%
  • First name
  • Last name
  • Job title
  • Work experience
  • Tags
  • Avatar
  • Cover
  • Description

Filling out more of your profile gets you higher rankings in the directory and increases community trust.

Your points

Total Points

0

Contribution

0

Visit

0

Recent comments

Oscar Santana Verified userVerified user author Open to work View ofsantana's profile
Fri, 06/28/2024 - 03:14

Thank you for this amazing post. I normally work with APIs as a data source, but is good to have this document as a reference whenever I will need to work with SQL databases.

Oscar Santana Verified userVerified user author Open to work View ofsantana's profile
Fri, 06/28/2024 - 01:47

Thanks, Joseph, I wanted to share the Custom widget in a way anyone can take it as it is and implement it quickly, that is why I took the time to build it like a "complete" solution. 

Joseph Petty Verified userVerified user staff View joseph_appsmith's profile
Tue, 06/25/2024 - 20:12

This is awesome! I like that you included the other widgets to build new events, instead of just publishing the custom widget by itself. That would have been enough, but this is even better! 

ryansmith public View ryansmith's profile
Thu, 06/20/2024 - 13:34

Do map and reduce have the same performance overhead relative to a basic for loop?

The difference in behavior for undefined elements in the array is a deal killer, however. 98% of the time, developers will fail to remember this issue, even if they read about it before.

pchambless1 public View pchambless1's profile
Wed, 06/19/2024 - 20:12

Do the images have to have names of fields or can Appsmith AI make guesses as to what would go in each identified column?

 

Ron Northcutt Verified userVerified user staff View ron's profile
Wed, 06/19/2024 - 17:57

In reply to by phạmquanghuy

I'm not so sure. The best I can find is that for is pretty much always the fastest, and for of only seems to be a slight issue with massive datasets (far beyond what a frontend app would do). And for of is still faster than forEach

In any event, forEach still has way too many other limitations, and for of is much more readable than for when you don't know the size of the array you are iterating over. 

See: 

phạmquanghuy public View phạmquanghuy's profile
Wed, 06/19/2024 - 03:43

When it comes to performance, for of is even much slower than forEach

Ron Northcutt Verified userVerified user staff View ron's profile
Mon, 06/17/2024 - 09:19

In reply to by kingstonejob

This only applies to Javascript. I'm not sure how this applies to other languages.

Kingstone Job public View kingstonejob's profile
Sat, 06/15/2024 - 02:25

Are these limitations of Foreach Loop applicable in PHP, Java and C#?

Ron Northcutt Verified userVerified user staff View ron's profile
Fri, 06/14/2024 - 13:44

In reply to by ron

Great tips John!

pchambless1 public View pchambless1's profile
Fri, 06/14/2024 - 08:11

In reply to by ron

HaHa, thanks for that, Ron.  I've got so much still to learn.  I'd like to go 'interactive' with my widgets.  I'm hoping to get some insights that don't take me days to figure out.

Joseph Petty Verified userVerified user staff View joseph_appsmith's profile
Thu, 06/13/2024 - 18:58

Excellent post! I knew about a few of the limitations but the amount of performance difference was surprising. 

John Passmore public View nilgai's profile
Wed, 06/12/2024 - 11:08

In reply to by ron

Thanks for that Ron.

For the benefit of others, remember to use the Overflow text tab to constrain and scroll down a long list of json objects.
Also. to examine a selected table row as json displayed in a text widget, I had to save the selected row
from the table onRowselected option with {{await storeValue('selectedRow', TblAlldocs.selectedRow)}}
and feed the Input widget with {{appsmith.store.selectedRow}} in its text box.

I looked at displaying the json in an Input widget but it would only work as a fixed-size, unscrolable, multi-line text block;
a single-line text Input widget could only display the json as a realistically, unreadable long string. 

Ron Northcutt Verified userVerified user staff View ron's profile
Tue, 06/11/2024 - 16:13

In reply to by nilgai

Absolutely. If you bind the default query result to something like a Text widget, it is in JSON format already:

{{ Query1.data }}

Just be sure to use .data and not .run() . If you use .run(), then it will actually make the DB query again instead of using the results you already retreived.

Ron Northcutt Verified userVerified user staff View ron's profile
Tue, 06/11/2024 - 16:09

In reply to by umeshdiwekar

This will most likely be out in the latter half of this year!

Ron Northcutt Verified userVerified user staff View ron's profile
Tue, 06/11/2024 - 16:05

You can call the stored value in the header field like this:

{{ appsmith.store.KEY_NAME }}
Ron Northcutt Verified userVerified user staff View ron's profile
Tue, 06/11/2024 - 16:01

In reply to by pchambless1

Lol - nice try Paul. We all know you rock.

pratimadudhewar public View pratimadudhewar's profile
Thu, 06/06/2024 - 07:34

Hello,

 

I want to send dynamic sessionToken in header section of other API's. After getting sessionToken, i have stored it in a store object. But in headers how can i access that value?

emmanuelrodriguez public View emmanuelrodriguez's profile
Tue, 06/04/2024 - 11:17

Nice article!, continue doing like this

florenciahnatiuk public View florenciahnatiuk's profile
Tue, 06/04/2024 - 11:16

Interesting! Thanks for sharing