Ho trovato! :king: Ho usato le variabili CGI nel codice indicato da Giuseppe per prendere i campi del documento che mi servivano: <xp:this.resources> <xp:metaData> <xp:this.attrs> <xp:attr name="property" value="og:descrizione"> </xp:attr> </xp:this.attrs> <xp:this.content><![CDATA[#{javascript: var cgi = new CGIVariables(); str = cgi.QUERY_STRING; b =str.indexOf("?"); Url_Commerciale = str.substring(b+1); UNID = @DbLookup("", "(Url)", Url_Commerciale, 2); var doc = database.getDocumentByUNID(UNID); doc.getItemValueString("descrizione"); }]]></xp:this.content> </xp:metaData> </xp:this.resources> Grazie Giuseppe ! :beer: Alla prossima
|