How to save data and use offline

All Blocks -

Offline Blocks -

pls guide me, its not call data from offline mode.
i don’t understand how to set data and find index value.
:pray::pray:

1 Like

First call GetAllRows function and store the responseContent from GotAllRows event on TinyDB. Here responseContent is JSON string. Now if you know how to play with JSON string so you can use the JSON string using any JsonTools extension or in-built dictionary blocks while you’re offline.

@JEWEL bru

[
  {
    "id": "recSYjmCrT1kxmlis",
    "createdTime": "2024-02-21T07:03:48.000Z",
    "fields": {
      "Clg Estd": "2019",
      "Clg Type": "Government \/ Public",
      "Clg Website": "https:\/\/www.a.org\/",
      "Clg Email": "[email protected]",
      "Clg Logos": "/clg-assets\/icons\/kish.png",
      "Clg Code": "142",
      "Clg Name": "Engineering College, Kish",
      "Clg Number": "1234567890",
      "Clg Address": "Mahesh Bathna",
      "Clg Principal": "Dr. ",
      "Clg Dist": "Kish",
      "Clg Branch": "CE, EE, ME, CSE, CSE (IOT, AIML)"
    }
  },
  {
    "id": "recduzLOTkjH50F7S",
    "createdTime": "2024-02-21T07:03:48.000Z",
    "fields": {
      "Clg Estd": "2019",
      "Clg Type": "Government \/ Public",
      "Clg Website": "https:\/\/www.ac.in\/",
      "Clg Email": "[email protected]",
      "Clg Logos": "/clg-assets\/icons\/sheo.jpeg",
      "Clg Code": "145",
      "Clg Name": "Engineering College, Sheo",
      "Clg Number": "1234567890",
      "Clg Address": "Chhatauna Bisunpur",
      "Clg Principal": "Dr. ",
      "Clg Dist": "Sheo",
      "Clg Branch": "CE, EE, ME, CSE, CSE (IOT, AIML)"
    }
  },
  {
    "id": "recY6X6rTNL26wzH0",
    "createdTime": "2024-02-21T07:03:48.000Z",
    "fields": {
      "Clg Estd": "2019",
      "Clg Type": "Government \/ Public",
      "Clg Website": "https:\/\/ac.in\/",
      "Clg Email": "[email protected]",
      "Clg Logos": "/clg-assets\/icons\/ara.jpg",
      "Clg Code": "165",
      "Clg Name": "Engineering College, Ara",
      "Clg Number": "1234567890",
      "Clg Address": "Renu Gram Road",
      "Clg Principal": "Dr. ",
      "Clg Dist": "Ara",
      "Clg Branch": "CE, EE, ME, CSE, CSE (IOT, AIML)"
    }
  }
]

come in this format, suggest me block.

1 Like

@JEWEL

i try this block but not received any thing, pls guide and suggest.

1 Like

I’ll upload blocks very soon in this thread. Please wait some time. I’ll show you how to get values by Column while offline.

It should be working for you. I’ve added values into list. You can do anything else here.
I’ve just showed you the way how to store data on TinyDB and then parsing data from it.

2 Likes

@JEWEL

i try it, it work and after modification it show error.

image

pls review bru.

Please share your JSON template. So it’ll be easy to determine the issue. The runtime error is very detailed. You’ve to set unique id for Main_VSA component. Check it again.

thank you bru, problem in my schema data.

Now it is fix. :sparkling_heart::pray::sparkling_heart:

Here One request to You bru,

Pls give block like it :point_up:, in dictionary blocks, i am not know about it. i learn day by day but pls provide, its save more time and i learn something new. I hope You Send :pray:.