Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 5    Views: 90

Pancho
Code is Art
Profile
Posts: 221
Reg: Mar 06, 2012
Lima
11,610
03/08/13 10:24 AM (11 years ago)

Json Snippet Keeper update

Hi, I´m having trouble with the operation of the Snippet Keeper: Created one screen called "Json nippets" and proceed to add snippets. I have two snippets in my list. One is copied to the config.txt. The other isn´t. I know I´m doing something wrong. Has anyone have experienced this before? Help is needed and would be greatly appreciated!! Pancho.
 
Pancho
Code is Art
Profile
Posts: 221
Reg: Mar 06, 2012
Lima
11,610
like
03/08/13 10:32 AM (11 years ago)
Update to previous question: The one that is saved in confi.txt, is the last one saved in the snippet keeper... I must have created them incorrectly... Thanks.
 
Pancho
Code is Art
Profile
Posts: 221
Reg: Mar 06, 2012
Lima
11,610
like
03/08/13 10:42 AM (11 years ago)
OK, I realize the mistake of my ways... Here is how it should be done: 1.- Create ("Add") a screen per EACH snippet you want to add.... that´s it... I was trying to create or add different snippets on the same screen. Bye, thanks.
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
03/08/13 10:48 AM (11 years ago)
good to know!
 
Stobe
buzztouch Evangelist
Profile
Posts: 1527
Reg: Mar 04, 2011
Fredericksburg,...
24,670
like
03/08/13 12:58 PM (11 years ago)
You can combine snippets as long as you don't close the curly braces {} I usually create around 20-50 pages of JSON within a single snippet keeper. Just depends on how organized you want to be. i.e., I'll put all PDFs in one snippet. All videos in another, etc.
 
Pancho
Code is Art
Profile
Posts: 221
Reg: Mar 06, 2012
Lima
11,610
like
03/08/13 06:36 PM (11 years ago)
Great Stobe, thanks.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.