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

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

Oscar Santana Verified userVerified user author Open to work View ofsantana's profile
Tue, 06/04/2024 - 00:48

This is a very good idea and an easy way to implement themes.

Thanks a lot for this!

Ron Northcutt Verified userVerified user staff View ron's profile
Mon, 06/03/2024 - 11:50

In reply to by ofsantana

Thanks for the feedback, Oscar! I can't take all the credit here, Joseph and the Templates team created the original list internally, and I just posted a modified version after finding it so useful.

The really helpful thing is when you are using autocomplete - you can find widgets/js/queries much easier when they are named properly, AND you know what they are without needing to look them up.

pchambless1 public View pchambless1's profile
Sun, 06/02/2024 - 17:56

I've only made HTML reports with Custom Widgets.  I hope I learn something from all the smart JS people!

Oscar Santana Verified userVerified user author Open to work View ofsantana's profile
Wed, 05/29/2024 - 14:13

Hi Ron, nice post, I think having naming conventions not only helps on teams but also for yourself, so you can always come over your work and understand it quickly. I liked some ideas you propose here so I will apply them on my apps. Thanks