Giter VIP home page Giter VIP logo

lwc-soql-builder's Introduction

LWC SOQL Builder

LWC SOQL Builder is a SOQL execution tool developed in LWC Open Source. LWC SOQL Builder makes building and running SOQL in Salesforce incredibly easy.

For more information, visit https://lwc-soql-builder.github.io/

Features

  • Point and Click User Interface
    • A point and click user interface enables you to add SOQL boilerplate, fields, parent relationships, subquery and run a query.
  • Autocomplete
    • Autocomplete is a feature that make you to complete field name. You can search by field label as well as by field name.
  • PWA Support
    • LWC SOQL Builder can be installed as Progressive Web App (PWA). You can install it like a normal desktop app.
  • Format SOQL
    • LWC SOQL Builder allows you to instantly beautify your SOQL queries. Formatted SOQL is very easy to use in Apex code.
  • CSV Export
    • You can export the query result to a CSV file. The CSV file can be upserted to Salesforce using Data Loader.
  • Support for ignoring default namespace
    • You can run a SOQL without the namespace prefix of a managed package. So, you can copy and paste the SOQL into your Apex code as-is.

How to setup local machine for development

  1. Setup proxy. You must set proxy.allowed_origin=http://localhost:3001.
    For more information, see lwc-soql-builder/jsforce-ajax-proxy-cloud-functions

  2. Copy & edit config/development.js.example file to add your custom configurations.

$ cp config/development.js.example config/development.js
  1. Run the following command to start the app.
$ npm run watch

This will start the project with a local development server on http://localhost:3001.

To ensure that you can view your changes, in Chrome DevTools, go to Application tab, click 'Service Workers' and select 'Bypass for network'.

How to deploy

  1. Setup proxy. You must set proxy.allowed_origin=http://<username>.github.io.
    For more information, see lwc-soql-builder/jsforce-ajax-proxy-cloud-functions

  2. Copy & edit config/production.js.example file to add your custom configurations.

$ cp config/production.js.example config/production.js
  1. Run the following command to build and deploy.
$ npm run deploy

This will publish files in dist/ to a gh-pages branch on GitHub.

  1. You can access LWC SOQL Builder with the following URL.
    http://<username>.github.io/lwc-soql-builder/

lwc-soql-builder's People

Contributors

atskimura avatar dependabot[bot] avatar hanamizuki10 avatar mcho71 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lwc-soql-builder's Issues

Its not Working now

image

I love this tool, but unfortunately recently I am facing with the issue "Cannot read properties of undefined (reading 'map')"

Sandboxログイン時にエラーが発生しました。[Error] UNSUPPORTED_API_VERSION: Invalid Api version specified on URL

概要

Sandboxへログインする際にエラーが発生しました。

sf:UNSUPPORTED_API_VERSION: UNSUPPORTED_API_VERSION: Invalid Api version specified on URL
    at a.getError (https://lwc-soql-builder.github.io/lwc-soql-builder/2.app.js:17:96123)
    at https://lwc-soql-builder.github.io/lwc-soql-builder/2.app.js:17:94479
    at https://lwc-soql-builder.github.io/lwc-soql-builder/2.app.js:19:3016
    at https://lwc-soql-builder.github.io/lwc-soql-builder/2.app.js:19:3044
    at MutationObserver.s (https://lwc-soql-builder.github.io/lwc-soql-builder/2.app.js:17:176951)
    at t.$$lwcObserverCallbackWrapper$$ (https://lwc-soql-builder.github.io/lwc-soql-builder/2.app.js:17:294805)
_loginCallback @ app.js:1

一時的な対処

セッションストレージのlsb.apiVersion58.0から56.0に変更したところ、エラーとならずに動きました。

image

Purpose of Google Analytics and gtag call from this tool

Hello Team,

Please confirm what this script does in index.html

**<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={$GOOGLE_ANALYTICS_ID}"></script>**

Does it record the pageviews of

**lwc-soql-builder github site

or

the salesforce api calls**

Intructions on running it locally

Hi

Could you please elaborate on the instructions locally? Our org has IP restrictions. So I can run this only locally but I am not familiar with JS. It would be very helpful to have detailed instructions. I am not sure of where and how to set the proxy on windows.

Thanks

Shalu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.