LoginSignup
2

More than 5 years have passed since last update.

【Salesforce】サイトで公開したページが「構築中です。」と表示される場合

Last updated at Posted at 2017-07-24

トラブルシューティング

以下を確認する
・サイトに対象のVFページを追加しているか。
・サイトゲストユーザプロファイルに、VFページとApexコントローラの権限を与えているか
・移動先のURLのドメインが、サイト用のドメインになっているか

補足

×↓
(Apex)
public PageReference nextPage {
  get {
    return Page.VF_NextPage;
  }
  set;
}
(Visualforce)
<a href="{! nextPage}">次ページ</a>

○↓
(Apex)
public PageReference nextPage() {
  return Page.VF_NextPage;
}
(Visualforce)
<apex:commandbutton action="{! nextPage}" value="次ページ" />

(下の場合は、Salesforceが裏側でサイト用ドメインにURLを変換してくれるので、サイトゲストユーザプロファイルでも閲覧できる。)

参考
http://shige-mon.blogspot.jp/2017/09/salesforce_27.html

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
2