Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi.
I have a doc. with a simple section access using USERID. It prompts me with user and password boxes when I open it.
I have another doc with a binary load of the same data and the same section access after. It does not ask me for user and password when I open it, and does not reduce data.
I completely close the doc and the application before I reopen it.
I'm using 11.20 12354.0 SR6 64-bit edition.
It must be a bug since it is not supose to do that, is it?
Any advice?
I'm attaching the 3 docs.
SIMPLE_LOAD (it works)
ORIGIN (to get binary data)
BINARY_LOAD (it does not work)
USERID: YO
PASSWORD: YO
Thanks.
Hola Christian,
Como veo que adjuntaste tu carpeta en español supongo hablas español asi que asi sera mi respuesta,
En el QVW que Adjuntas BINARY LOAD no pusiste ninguna section de acceso por lo cual adjunto de nuevo tu carpeta tal cual debe ir patra que funciene tu reduction de datos.
Saludos.
Solucion General:
Binary Ruta/MyOrigen.qvw;
Set variables ;
Section Access;
// Defines Tabla de Accesso y Roles
Section Aplication;
//La tabla con que usas para reducir
Ver el BINARY_LOAD Corregido.
Gracias Oswaldo, tienes razón. He envíado mal la prueba, y sí funciona cuando pongo la sección de acceso.
Desafortunadamente no funciona con otro documento que si tiene la sección de acceso, no reduce datos ni me pide contraseña. He dejado parte del script para que veas la sentencia binary y la sección de acceso.
He cifrado todos los campos por seguridad. (huevos revueltos)
Lo mando adjunto.
Gracias y saludos.
Christian un par de dudas:
1.- Hasta aqui termina tu codigo?
SET HidePrefix = '_';
Section Access;
star is *;
LOAD UPPER([ACCESS]) AS ACCESS
,UPPER(COD.COMERCIAL) AS USERID
,UPPER(COD.COMERCIAL) AS PASSWORD
,UPPER(COD.COMERCIAL)
FROM
[$(vG.ImportPath)\SeccionAcceso.xlsx]
(ooxml, embedded labels, table is SeccionAcceso);
2.- Si el punto uno la respuesta es si falta la sentencia Section Aplication; y en seguida la tabla donde esta el campo de reduccion que forma parte de tu modelo asociativo.
Saludos.
He recortado el script. Esa es solo la primera hoja. Las dos tablas siguientes son tablsa intermedias que se unen al modelo.
Hoy voy a rehacer todo el documento. Creo que está corrupto.
Cuando lo tenga rehecho ya veremos.
Gracias por tu ayuda.
The solution to this problem is to remake the document.
It was corrupted.
The new document works fine.
Thanks.
Besides of the document being corrupted, they are some issues here to comment.
1st.
Binary is the first sentence. It can't be included in Section Application. So your document will have a 'binary section' , a section access and a section application, at least you place the section access at the end and state only the clause section application.
2nd.
If you have 'exists' or 'not exists' clauses in your section access and those fields included in the exists clauses, it won't work, it won't bring what you want.
I recomend NOT to use binary load with section access at least you manage that access from publisher.