回答編集履歴
4
Recommendation__cについて追記
test
CHANGED
@@ -37,3 +37,33 @@
|
|
37
37
|
* そのため、embulk-input-salesforce_bulkのAPIの`authEndpointURL`を変える。[説明](https://github.com/mikoto2000/embulk-input-salesforce_bulk#configuration) `https://login.salesforce.com/services/Soap/u/45`? or `45.0`?
|
38
38
|
|
39
39
|
* [Recommendation](https://help.salesforce.com/articleView?id=nba_recommendations_app.htm&type=5)は作らないといけない?
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
### 2019-08-23 09:02 追記
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
開発者の人に聞いたところ以下を教えてもらいました。
|
48
|
+
|
49
|
+
> Recommendation が「カスタムで制作した」オブジェクトということであれば、`Recommendation__c` としなければいけないはずです。
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
参考のURLをみると、以下のようにする模様です。
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
```yaml
|
58
|
+
|
59
|
+
objectType: Recommendation__c
|
60
|
+
|
61
|
+
pollingIntervalMillisecond: 5000
|
62
|
+
|
63
|
+
querySelectFrom: SELECT Name FROM Recommendation__c limit 10
|
64
|
+
|
65
|
+
```
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
参考: [リレーション名、カスタムオブジェクトおよびカスタム項目について](https://developer.salesforce.com/docs/atlas.ja-jp.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_and_custom_objects.htm)
|
3
コメント追記
test
CHANGED
@@ -15,3 +15,25 @@
|
|
15
15
|
|
16
16
|
|
17
17
|
[プラグインのドキュメント](https://github.com/mikoto2000/embulk-input-salesforce_bulk#configuration)も修正してもらったので併せてご確認ください。
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
### 2019-08-22 11:14 追記
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
エラーは`Recommendation`がないと言っていますね。`Recommendation`があるのは確実なのでしょうか?
|
26
|
+
|
27
|
+
このプラグインもsalesforceも全く使ったことがないので当てずっぽうになりますが、自分なら以下を試します。
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
* embulk-input-salesforce_bulk を0.2.2にアップデート: 本質とは関係ないが不具合が修正されているため
|
32
|
+
|
33
|
+
* 他の[標準オブジェクト](https://qiita.com/na0AaooQ/items/c2678f5e809923fa9fb5)らしい`Recommendation`以外のものを試す。
|
34
|
+
|
35
|
+
* [Recommendation](https://developer.salesforce.com/docs/atlas.ja-jp.api.meta/api/sforce_api_objects_recommendation.htm)のドキュメメントをみると、"API バージョン 45.0 以降"と書かれている
|
36
|
+
|
37
|
+
* そのため、embulk-input-salesforce_bulkのAPIの`authEndpointURL`を変える。[説明](https://github.com/mikoto2000/embulk-input-salesforce_bulk#configuration) `https://login.salesforce.com/services/Soap/u/45`? or `45.0`?
|
38
|
+
|
39
|
+
* [Recommendation](https://help.salesforce.com/articleView?id=nba_recommendations_app.htm&type=5)は作らないといけない?
|
2
メッセージ追記
test
CHANGED
@@ -7,3 +7,11 @@
|
|
7
7
|
* `objectType: Account`を`objectType: Recommendation`にしてみてはいかがでしょうか?(こちらの値はFromと一致しないといけないようです。と作った人が言っていました。)
|
8
8
|
|
9
9
|
* ネットでエラーを検索すると権限云々という情報があったので、権限周りを確認した方がよいかもしれません。
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
### 2019-08-16 18:30 追記
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
[プラグインのドキュメント](https://github.com/mikoto2000/embulk-input-salesforce_bulk#configuration)も修正してもらったので併せてご確認ください。
|
1
記載場所間違い
test
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
* [こちらの質問](https://teratail.com/questions/206121)の結果から`Account`だと大丈夫だったといことでしょうか?
|
5
|
+
* [こちらの質問](https://teratail.com/questions/206121)の結果から`Account`だと大丈夫だったといことでしょうか?
|
6
6
|
|
7
|
-
* `objectType: Account`を`objectType: Recommendation`にしてみてはいかがでしょうか?
|
7
|
+
* `objectType: Account`を`objectType: Recommendation`にしてみてはいかがでしょうか?(こちらの値はFromと一致しないといけないようです。と作った人が言っていました。)
|
8
8
|
|
9
9
|
* ネットでエラーを検索すると権限云々という情報があったので、権限周りを確認した方がよいかもしれません。
|