-
You don't have to have an 'else' statement. I had assumed you were using that for some kind of debugging? Just remove your 'else' that has the message box with the error. It seems to me that you have decent error handling in your if block -- you return an error if the user isn't in AD or if something goes awry in your try ...
-
Thanks for the reply. I ended up finding this post http://www.bizsupportonline.net/infopath2007/how-to-submit-items-rows-repeating-table-infopath-sharepoint-list.htm. It took some fiddling with the button code (I'm not a dev guy) but this will submit repeating table data to a Sharepoint list as individual items.
-
There are probably hundreds of posts and solutions in forums everywhere answering this. But my situation is a bit different.
We have an IP form submitting to a SharePoint library. Currently, employees can view the submitted xml files inside the library, and even make changes to the files and save it. The problem is that there is a submit ...
-
Yes, sorry i did have == I guess I deleted that accidently. I can run the code without errors but it returns my
else MessageBox.Show("Error")
when I open the form and the LastNameNav is blank (Previewing the form). I may have to abandon this cause I've spent hours trying to make this simple condition work (which ...
-
Saludos,
Primero, de verdad necesitas crear las funciones en C#? No crees que sería más sencillo utilizar reglas para enviar correos y salvar el formulario? Puedes chequear este link para encontrar información adicional: Re: Desarrollo en InfoPath
Con respecto al tema del full trust ya lo respondí en este post: Re: ...
-
Hello,
My team is preparing to replace our company's current paper forms with browser enabled IP forms in MOSS 2007. Currently, we have our completed IP forms in a Document Center site, with libraries created for each corporate team (HR, Accounting, IT, etc). Within these libraries, we have content types set up for each form that ...
-
Saludos,
Creo que la información es escasa para dar una mayor explicación. Pero básicamente es la misma manera que se trabaja con servicios web en Visual Studio, nada más agregas la referencia web.
-
Saludos,
Existen dos maneras sencillas de solucionar este problema:
Creando un flujo de trabajo: Lo podés hacer mediante SharePoint Designer, podés enviar tareas de aprobación para que cada usuario reciba una tarea para aprobar el formulario. Posteriormente el flujo de trabajo se encargará de manejar los estados, actualizar el ...
-
Saludos Joel,
Podrías ser más detallado con que tipo de error estás recibiendo cuando publicas el formulario? Formularios con código es necesario implementarlos mediante Full Trust. Este tipo de publicaciones conllevan a un serie de pasos adicionales, los cuales consisten en que el Desarrollador programa el formulario en InfoPath y envía el ...
-
Dudo mucho que aún tengas el problema, pero al menos para los que entren al foro podrán ver otra alternativa a la solución del problema:
Porque no creas un campo adicional que se llame "Destinatarios", el autor ingresará en ese campo a cuales usuarios les deberá enviar el formulario. Posteriormente el flujo de trabajo tomará ese ...