-
The last error message is something like "the context of the object model call is invalid".
Anyway, the issue is here: eventObj.PerformSaveOperation(XDocument.SaveAs(Path & Nom + ".xml"))
You cannot have the SaveAs() method inside the PerformSaveOperation() method... this is invalid. You must use one or the ...
-
In code, you can set the Caption property:
Application.ActiveWindow.Caption = "Test";
-
It sounds like what you want is a view with a single field that can be copied in one transaction.
Obviously you know you can create a view with all the fields set to readonly, and then the fields can be copied one-by-one... but it sounds like you want one concatenated field.
Truely, using concat() is not the right answer. However, you could do ...
-
You can use GetNamedNodeProperty(objRepeatingNodeParent, 'CTRL1', 1) to figure out which row is activated (substituting the appropriate dom node and ctrl_id into the parameters.
However, this does not cause an EVENT to take place. So you would have to likely use a timer in conjunction with this (might require the use of a task ...
-
You can do it one of two ways:
1. If your form is simple (a few fields), you can add conditional formatting to each field to set it read-only while some field (my:IsEditable) == False. Then when you click the edit button, the field is set to True, and all the form fields magically are editable.
2. If you have a lot of fields, you can create ...
-
Sorry - SharePoint does not support a column of file attachments.
You might be able to write some submit code that copies your attachments to a document library, and then stores the URL to that attachment in a field value which is then promoted as a column.
-
Are you adding the promoted properties when you publish the form, or in the designer using to Tools | Form Options menu? It makes a differnece. If you do it while publishing -- that's a one-time deal and must be done over and over again. If you do it from the tools menu, its a permanent deal (until you delete them).
-
I've never heard of doing that. What do you mean by "only show the data for the active form"?
If you are talking about just "showing" certain fields from the returned collection of fields -- I'm guessing you already know that you can just delete some columns off the repeating table to show just the fields you want -- ...
-
I have never had this happen. Try copying your switchview code to notepad, deleting the even handler, re-adding it from the designer, and the putting your code back in.
Not that this SHOULD make a difference, but you never know. Stranger things have happened.
-
Cool! Glad to have helped!