Rudy Yulianto

See also: Other Geeks@INDC

Get Web App Url From XsnLocation QueryString at IP 2007

          //jk ada XsnLocation maka bs di ambil alamat web app nya dengan cara di split
            if (e.InputParameters["XsnLocation"] != null && e.InputParameters["XsnLocation"] != "")
            {
                string[] ArrayWebUrl = e.InputParameters["XsnLocation"].Split(new string[] { "FormServerTemplates" }, StringSplitOptions.RemoveEmptyEntries);
                if (ArrayWebUrl.Length > 0)
                {
                     _myWebApp = ArrayWebUrl[0];
                     _txtWebUrl.SetValue(_myWebApp);
                }
            }
            else
            {
                _myWebApp = _txtWebUrl.Value;
            }

Share this post: | | | |

Comments

No Comments