Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Hmm, I tried the following code but see no problem
public override Guid SaveToStorage(FormIdentity formIden, Submission submission) { var dds = new DdsPermanentStorage(); var submissionId = dds.SaveToStorage(formIden, submission); submission.Data["__field_183"] = "test@test.test"; // __field_183 is the id of my hidden visitor profiling field dds.UpdateToStorage(submissionId, formIden, submission); return submissionId; }
Thanks Phu. I changed my code to use var submissionId = ddsSubmission.SaveToStorage(formsIden, submission); but it still gives the error {"Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)."}.
I'm wondering if there is a permission or property in the web.config related to this method that I haven't set.
The code that I'm using gives an error - {"Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)."}
I've tried -
var ddsSubmission = new DdsPermanentStorage();
* code here to get the correct field, remove it, and re-add it to the submission object with the updated values.
ddsSubmission.UpdateToStorage(formGuid, formsIden, submission);
as well as -
ddsSubmission.SaveToStorage(formsIden,submission)
but in both cases I get the same error.
This error appears to be related to the Guid that's part of formsIden but I use formsIden to get the friendlynames and it works.