Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: La ejecución rompe el código en el momento que trata de ejecutar código de SPServices/Running the code breaks when trying to execute code SPServices

$
0
0
Estoy trabajando con SharePoint 2007, codificando con JavaScript utilizando las librerías de JQuery y SPServices. Al ejecutar la codificación siguiente,
(I am working with SharePoint 2007, encoding using JavaScript libraries JQuery and SPServices. When you run the following code,)
<script language="javascript" type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.6.1.js"></script>
<script type="text/javascript" src="http://serverName/_layouts/jquery.SPServices-0.7.2.js"></script>
<script type="text/javascript">
        function getUserName()
        {
            //alert('Entro a la Function getUserName');
            var thisUser = $().SPServices.SPGetCurrentUser({
                fieldName: "Name",
                    debug: false
            });
            return(thisUser)
        }           
alert('Hola ' + getUserName());
</script>
con algunos usuarios me rompe el código en el momento que trata de ejecutar código de SPServices. Entiendo que posiblemente tiene que ver con el nivel de acceso al folder donde se encuentra dicho código. Pero e ido directamente al archivo donde se encuentra la librería de SPServices y le e asignado acceso directo de lectura y aun así me sigue dando problemas. No sé que hacer, necesito un alma caritativa que me de luz PARA PODER RESOLVER ESTA CITUACION.
(with some users breaks my code when trying to execute code SPServices. I understand that possibly have to do with the level of access to the folder where the code. But and gone directly to the file wherethe library and assigned SPServices and direct read and yet still gives me problems. Do not know what to do, I need a kind soul to give me light to resolve this cituacion.)

Gracias con anticipación…
Thanks in advance ...

(Traducción de español a ingles con el traductor de Google.)
(Translation from Spanish to English with Google Translate.)

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>