Top > Frequently Asked Questions > I can't get the value with "@GetHTTPHeader("Host")" with the "Formula" in Form Info

Frequently Asked Questions

Print Prev Next

I can't get the value with "@GetHTTPHeader("Host")" with the "Formula" in Form Info

2018/8/2 Created.
2019/9/17 Updated.

Please use the following formula instead of "@GetHTTPHeader("Host")".
This formula is based on the one described on page 15 of the Development Kit and gets the value of the "Host Name (FQDN)" (ServerURL field) in the Notes Configuration document instead of the "AppDocUNID" field.
server := @Name( [CN]; @ServerName );
database := @Subset( @DbName; -1 );
tmpDbServer := @DbLookup( "":""; server:"sdcnctr.nsf"; "vwByServFile"; server + "\\\\" + database; "ServerURL" )

Print Prev Next












© 2024 BestCommunications, Inc.