ttyebileyo
Programmer
I’m trying to get the “pikey” that begins with the word default form the site table but I’m on the forms table. I tried using the PIGetSiteInfo function but I’m not coming up with the right info.
This is what I have : In the Eformdlg
CString strfolder = "defaultfolder";
for(int i = 0 ;i < 3 ; i++)
{
int rc = PIGetSiteInfo( _T("pikey"), strfolder);
if( !rc || strfolder.IsEmpty())
{
m_SecureFolder.AddString(strfolder);
}
}
AND int PIGetSiteInfo(const TCHAR *pKey, CString &Field)
{
return workFlow->pSite->Get(pKey, Field);
}
The result is defaultfolder.