0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

2026年9月の質問の中から整理します

0
Last updated at Posted at 2026-09-01

まとめページに戻る
Trailhead関係 年月で整理に戻る

参照して頂くのは結構ですが、そのまま内容を丸ごとコピーするような行為は控えて欲しいです。一応時間を掛けて作っているので、その点はご考慮願いたいです。

なるべく、回答の中身も転記しておきます。結構な割合で質問者さんが黒歴史を消したいのか質問自体を削除しますので... 最良の答えとしてもらっても即消されることは大変多いです。

今月も質問質問自体が少ないどころか、全くない。また回答しても返答は1割くらいしか返ってきませんね。もう役割を終えた機能なのだと思います。AIが回答のほとんどを担って、人間による回答は不要になった感じです

2026年8月・9月・10月未解決の質問



We can’t find any records for the My_kav index object

Please check last status : if it is still showing pending your challenge cannot be complete.please click on refresh then update .

We can't find the 'Billing Support Agents' rule entry at sort order 2. Make sure the rule entry is set to sort order 2

We didn’t find the Flight API Best Practices profile in API Governance.

フライトAPIを再作成したところ、本日検証が成功しました。

We see you're using the Agentforce org from the quick start. But it's not prepared for agent deployment into Slack. Complete the steps from the quick start to ensure you can set up the agent.

I managed to complete this by some weird magic:

  • Deactivated the agent, then enabled it again to ensure there is a approval on slack for the PAM agent

  • Enabled einstein bots, and created a new enhanaced bot (just randomly put values)

何らかの不思議な魔法のような手順で、これを無事完了させることができました:

  • エージェントを一度無効化してから再度有効化し、Slack上でPAMエージェントの承認が行われるようにしました。

  • Einsteinボットを有効化し、新しい「拡張ボット(Enhanced Bot)」を作成しました(設定値は適当に入力しました)。

We can’t find the quote Office Supplies. Make sure you create the quote for the EdgeMX account

I opened a case directly with Salesforce; for it to work, the quote needs to be created from the opportunity record.

Salesforceに直接問い合わせ(ケースを作成)したところ、機能させるためには商談レコードから見積を作成する必要があるとのことでした。

The user license doesn't allow the permission: ViewSetupAuditTrail

Please run 'Match Production Licenses to Sandbox' in the target org where the deployment is failing. This step resolved the issue for me.

デプロイが失敗しているターゲット組織で、「Match Production Licenses to Sandbox(本番環境のライセンスをSandboxに一致させる)」を実行してください。この手順で、私の場合は問題が解決しました。

We are down for maintenance. Sorry for the inconvenience. We'll be back shortly.

image.png

We can't check your work because something in your org prevents executing the generateRatingParams method from the GuestReviewRatingCalculator class.

So the final fix was to not use @AuraEnabled at all, even though it resolved one of the initial errors.

Sharing Apex code, in case others run into the same confusing behavior.

public class GuestReviewRatingCalculator {
    public Experience__c generateRatingParams(String experienceId){
        System.debug(experienceId);
        Map<String, String> experience = new Map<String, String>();
        experience.put('id', experienceId);
        ConnectApi.WrappedValue experienceValue = new ConnectApi.WrappedValue();
        experienceValue.value = experience;
        Map<String, ConnectApi.WrappedValue> inputParams = new Map<String, ConnectApi.WrappedValue>();
        // List<Experience__c> exps =  [SELECT Id, Name, Communication__c, Value__c, Accuracy__c FROM Experience__c where Id=:experienceId];
        //TO-DO Configure Prompt Template Input API Name(Input:experience)
        inputParams.put('Input:experience', experienceValue);
        // Configure invocation parameters
        ConnectApi.EinsteinPromptTemplateGenerationsInput executeTemplateInput = new ConnectApi.EinsteinPromptTemplateGenerationsInput();
        executeTemplateInput.additionalConfig = new ConnectApi.EinsteinLlmAdditionalConfigInput();
        executeTemplateInput.additionalConfig.applicationName = 'PromptBuilderPreview';
        executeTemplateInput.isPreview = false;
        executeTemplateInput.inputParams = inputParams;
        try {
            //TO-DO Call the service generateMessagesForPromptTemplate to generate response by specifying the prompt template API name and input parameters
            ConnectApi.EinsteinPromptTemplateGenerationsRepresentation generationsOutput = ConnectApi.EinsteinLLM.generateMessagesForPromptTemplate(
                'Experience_Guest_Reviews_Evaluator',
                executeTemplateInput
            );
            //TO-DO Extract the response text from generations property
            ConnectApi.EinsteinLLMGenerationItemOutput response = generationsOutput.generations[0];    
            //Deserialize the response 
            Map<String, Object> jsonMap = (Map<String, Object>) JSON.deserializeUntyped(response.text);
            Decimal accuracy = jsonMap.containsKey('Accuracy') ? (Decimal) jsonMap.get('Accuracy') : 0;
            Decimal value = jsonMap.containsKey('Value') ? (Decimal) jsonMap.get('Value') : 0;
            Decimal communication = jsonMap.containsKey('Communication') ? (Decimal) jsonMap.get('Communication') : 0;
            //Update the Experience record with the deserialized response
            Experience__c exp = new Experience__c(Id=experienceId, Value__c =value,  Accuracy__c=accuracy, Communication__c = communication);
            update exp;
            return exp;
        } catch (Exception e){
            System.debug(e.getMessage());
            throw e;
        }
    }
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?