User Manual

08.14.2024

MANUAL

Developer Function: Server Script: context.QueryStrings

The Japanese version of the manual is the latest.
Please also check.
## Overview Get the value of a query parameter in a URL string using a "「Server Script」". ## Supported Versions 1. Pleasanter 1.3.15.0 or later 1. Pleasanter .NET Framework version 0.51.15.0 or later ## Method |No|Name|Description| |:----|:----|:----| |1|Data|Get the parameter value as a string type| |2|Bool|Get the parameter value as a boolean type| |3|Int|Get the parameter value as an integer type| ## Usage Example In the following example, the value of the parameters (name, id) included in the URL string when accessed via http://example.com/items/1000/index?name=Hayato&id=123 is obtained. ##### JavaScript ``` let name = context.QueryStrings.Data('name'); context.Log(name); // Hayato let id = context.QueryStrings.Int('id'); context.Log(id); // 123 ``` ## Related Information <div id="ManualList"> <article class="s-blog_list_unit"><h2> <h2>The specified information was not found.</h2> <p><a href="/ja/manual">Return to top</a></p> </article> </div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.