cabrillo.navigation: クライアント

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:2分
  • Cabrillo JS 前方および後方ナビゲーションの機能。

    cabrillo.navigation - goBack()

    後方ナビゲーションを有効にします。

    表 : 1. パラメーター
    名前 タイプ 説明
    なし
    表 : 2. 返される内容
    タイプ 説明
    ブーリアン Cabrillo JS逆方向に移動する場合は true を返し、それ以外の場合は false を返します。
    cabrillo.navigation.goBack();

    cabrillo.navigation - goto( 文字列 url, Cabrillo.NavigationRequest 要求)

    前方ナビゲーションを有効にします。

    リストまたはレコードのナビゲーションには、url パラメーターではなく要求パラメーターを使用します。

    表 : 3. パラメーター
    名前 タイプ 説明
    URL 文字列 移動先の URL。これはカスタム URL ナビゲーションに使用する必要があります。オプション。
    要求 Cabrillo.NavigationRequest 移動先のリストまたはレコードについて説明します。オプション。
    表 : 4. 返される内容
    タイプ 説明
    ブーリアン 移動する場合は true Cabrillo JS 返し、それ以外の場合は false を返します。

    URL に移動します。

    cabrillo.navigation["goto"]('/$sp.do?id=my_custom_page');

    リストに移動します。リストナビゲーションでは、request パラメーターは url パラメーターよりも優先されます。

    // A Cabrillo.NavigationRequest dictionary that specifies a list of active incidents.
    var request = {
        table: 'incident',
        query: 'active=true',
    };
    cabrillo.navigation["goto"](null, request);

    レコードに移動します。レコードナビゲーションでは、要求パラメーターが url パラメーターよりも優先されます。

    // A Cabrillo.NavigationRequest dictionary that specifies an incident record.
    var request = {
        table: 'incident',
        sysId: 'a9e30c7dc61122760116894de7bcc7bd'
    };
    cabrillo.navigation["goto"](null, request);

    新しいレコードに移動します。

    // A Cabrillo.NavigationRequest dictionary that specifies a new incident record.
    // The new record will be seeded with the encoded query.
    var request = {
        table: 'incident',
        sysId: '-1',
        query: 'short_description=This is a new incident.'
    };
    cabrillo.navigation["goto"](null, request);