Salesforce

LWC APEX @wireの利用方法

@wire LWC APEX - Google 検索 https://www.google.com/search?client=firefox-b-d&q=%40wire+LWC+APEX www.google.com

LWCからデータベースにアクセスする方法

qiita.com

Refresh Record View in LWC

- How to Refresh Record View in LWC with two lines of code. Refresh Record View in LWC How to Refresh Record View in LWC Let’s say that we have situation when we just finished quick action from opportunity record page. This action uses LWC…

【Apex】Mapオブジェクトの中身を全て取得するには?

https://www.kokyakukanri.info/salesforce/blog/2010/12/apexmap.html みなさんこんにちは。 salesforceお助け隊の加藤です。 Mapオブジェクトの中身を全て取得したいけど、 やり方がわからないという経験ありませんか? 実は、Apexのマニュアルを読んでも…

ApexでのMapの使い方を徹底解説!【Salesforce】

keneloper.com

LWC(Lightning Web Components)でApexでレコード保存時に「System.LimitException: Too many DML statements: 1」の対処方法

https://tabeblog.jp/lwclightning-web-components%E3%81%A7apex%E3%81%A7%E3%83%AC%E3%82%B3%E3%83%BC%E3%83%89%E4%BF%9D%E5%AD%98%E6%99%82%E3%81%AB%E3%80%8Csystem-limitexception-too-many-dml-statements-1%E3%80%8D%E3%81%AE/ LWC(Lightning Web Comp…

レコードの挿入と更新

developer.salesforce.com

Decimal クラス

developer.salesforce.com

カスタム例外の作成

developer.salesforce.com

【Apex】ログインユーザのプロファイル判定

gawatari.com 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 /* 例:システム管理者の判定 */ Boolean isAdministrator = false; // ログインユーザのプロファイル取得 Profile p = [ SELECT Id ,Name FROM Profile WHERE Id =: UserInfo.getProfileId() LIMIT 1 ];…

Lightning Web ComponentsのApexクラス呼び出し方法

note.com import ApexMethod1 from '@salesforce/apex/ApexClass.ApexMethod1'; import ApexMethod2 from '@salesforce/apex/ApexClass.ApexMethod2'; import ApexMethod3 from '@salesforce/apex/ApexClass.ApexMethod3'; async handleOKClick(event) { // …

【Lightning Web Component】Apexを呼び出してみよう【Salesforce】

keneloper.com