Last active
March 16, 2017 02:16
-
-
Save MashmatrixSupport/6f3ebced878dd266c441f63408b3a80d to your computer and use it in GitHub Desktop.
Sheetのレコード詳細ページへの埋め込み
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page standardController="CustomObject__c" showHeader="false"> | |
<script> | |
var bookId = 'a01280000179IMaAAM'; | |
var sheetId = 's1'; | |
var recordId = '{!JSENCODE(id)}'; | |
location.href = '/apex/msmxSheet__MsmxSheetView?id=' + recordId + '&bookId=' + bookId + '&sheetId=' + sheetId; | |
</script> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
standardController
属性の値は埋め込み対象となるレコードのオブジェクトのAPI参照名に変更する必要があります。bookId
およびsheetId
の値は、表示するブックおよびシートのIDを指定します。