0
0

classicでのURL Hack

Last updated at Posted at 2022-10-25

元の質問 : Javascript カスタムボタン作成時の標準項目「コメント」の内容を指定したい

ふぃーるどの指定の仕方について面白記述があります。
Idを探せばいいようです。

To find these out you simply view the source code of the task and event edit pages. In the source code you will find an "id" value for each of your fields. As an FYI, there is a developer add-on for Firefox that can make this process a little easier.

Task and Event fields URL mapping

実際にやってみるとあります。
image.png

For Events:

  • evt5 = Subject
  • evt12 = Location
  • evt10 = Type

For Tasks:

  • tsk5 = Subject
  • tsk10 = Type

参考資料

tsk1= Who is the Task Assigned to?
tsk2= What is the Related Contact ID?
tsk3= What is the Objects name
tsk4= What is the Due date
tsk5= What is the Subject
tsk12= What is the Task’s Status
retURL= Where to return when saved

これも同様かも

URL Hack, this post applies only to classic.

要約すると、scontrolCaching=1Visualforce コンポーネントを使用する Visualforce ページに潜在的に存在する S コントロールのキャッシュをデフォルトで有効にするために、URL にクエリ文字列パラメータが存在する可能性が高いようです

https://salesforce.stackexchange.com/questions/157730/what-does-scontrolcaching-1-mean-in-a-url-from-a-visualforce-page

sfdc.override パラメータは、オーバーライドを使用するように Salesforce に指示します。
実際のパラメータは nooverride であり、無視するには 1 に設定する必要があります。

https://developer.salesforce.com/forums/?id=906F0000000971tIAA

レコードタイプ

試したことはないのですが、Classicの場合のレコードタイプについての説明がありました。
(大文字小文字も区別されます)

If you have multiple record types, you can easily pass in the ID of the record type using this format – &RecordType=abc*. With abc being a fixed value or possibly a merge field with your Record Type ID (This can be found on the record type page)
https://www.salesforceben.com/salesforce-url-hacking-tutorial/

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