public string GetVXStorageLink(VXGuid templateId)
 {
     return VXStorageUri.GetItemUri(
         templateId,
         ItemUid,
         VXStorageUri.UriAction.Browse).AbsoluteUri;
 }
 private static string GetFileUrl(VXGuid templateId, VXFile file)
 {
     string fileId = file.FileID.ToString();
     return String.Format(
         "{0}/{1}/{2}/{3}/{4}{5}",
         "http://rufrt-dev04/VXShare",
         //"http://rufrt-test11/VXShare_real",
         //"http://vx-ws.cnetcontentsolutions.com/vxshare",
         templateId,
         fileId.Substring(0, 2),
         fileId.Substring(2, 2),
         fileId,
         file.FileExtension);
 }
        private bool ReadNodeId()
        {
            string nodeId = Request["nodeId"];

            if (String.IsNullOrEmpty(nodeId))
                return false;

            try
            {
                m_nodeId = new VXGuid(nodeId);
            }
            catch
            {
                return false;
            }

            return true;
        }