- This topic is empty.
- 05/09/2012 at 12:37 pm #5300
Could you please explain your scenario in more details?
– SharePoint and QWP version
– custom field definition
– validation function
– qListForm web part template
– any screen shots or explanation that may help
- 05/10/2012 at 1:49 am #6195
I am using SharePoint Server 2010 and Quest product version 5.7.
We have developed a custom field definition, which encrypts the data inside GetValidatedString(object) function.
public override string GetValidatedString(object objValue)
/* My Custom Encryption Module*/
return "My Encrypted Value";
When i place the break point in Visual Studio, the value is getting returned from GetValidatedString function.
In Out of Box sharepoint new form page it works fine. In New form aspx page, i have made hidden the default new form page and added the qListForm webpart.
I have attached both the qListForm and New form screen shots.
- 05/11/2012 at 8:28 am #4153
In qListForm, Custom Field values are not getting stored in SharePoint List.
In Custom Field definition, the value is passed up to GetValidatedString(object) function, its even getting returned from that function, after that it does not write to database.
When SharePoint out of box new form is used, the value is written. Only when i use qListForm, new form, values are not getting stored properly.
- 05/11/2012 at 8:28 am #6196
You can use Custom Actions feature of our product to accomplish your scenario.
Under QWP installation folder you'll find Sample Code folder that contains a working sample Visual Studio application about Custom Actions with plenty of explanations for real scenarios. Also the documentation talks in details about this feature (see section Custom Action Help).
This custom code allows you to apply your encryption method and save the SSN field encrypted. e for visualization, use the decrypt method.
If you have any issues with the custom actions please let me know,
You must be logged in to reply to this topic.