{"id":24383,"date":"2016-12-08T21:47:01","date_gmt":"2016-12-08T20:47:01","guid":{"rendered":"http:\/\/help.qualiware.it\/qw-help\/?p=24383"},"modified":"2016-12-08T21:54:04","modified_gmt":"2016-12-08T20:54:04","slug":"creazione-automatica-di-un-documento-in-una-categoria-con-intervento-dellutente","status":"publish","type":"post","link":"https:\/\/help.qualiware.it\/qw-help\/creazione-automatica-di-un-documento-in-una-categoria-con-intervento-dellutente\/","title":{"rendered":"Creazione di un documento in una categoria (con intervento dell&#8217;utente)"},"content":{"rendered":"<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\">' Il seguente frammento di codice crea un documento in una categoria documentale e presenta all'utente\r\n' il relativo form per consentirgli di completare l'inserimento\r\n\r\n' DW_Crea(form,pTipo,pTipo_Cont,pNumero,pInd_Rev,pTitolo,pNote,pCampi)\r\n' form -&gt; form chiamante \r\n' pTipo -&gt; Tipo del documento (codice categoria) \r\n' pTipo_Cont -&gt; Tipo_Cont del documento \r\n' pNumero -&gt; Numero del documento \r\n' pInd_rev -&gt; Indice di revisione \r\n' pTitolo -&gt; Titolo del documento \r\n' pNote -&gt; Testo da inserire nel campo DOCUMENT.NOTE \r\n' campi -&gt; Array associativo contenente i valori degli altri campi del record di DOCUMENT\r\n\r\ndim campi as assocarray \r\ncampi=new assocarray()\r\ncampi(\"CUSTOM1\")= \"test Custom1\" \r\nDW_Crea(form,\"P\", \"CREA\",\"001\", 2, \"ProvaCreazione\", \"\",campi)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&#8216; Il seguente frammento di codice crea un documento in una categoria documentale e presenta all&#8217;utente &#8216; il relativo form per consentirgli di completare l&#8217;inserimento &#8216; DW_Crea(form,pTipo,pTipo_Cont,pNumero,pInd_Rev,pTitolo,pNote,pCampi) &#8216; form -&gt; form chiamante &#8216; pTipo -&gt; Tipo del documento (codice categoria) &#8216; pTipo_Cont -&gt; Tipo_Cont del documento &#8216; pNumero -&gt; Numero del documento &#8216; pInd_rev -&gt;&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[65],"tags":[71],"acf":[],"_links":{"self":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/24383"}],"collection":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/comments?post=24383"}],"version-history":[{"count":0,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/24383\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/media?parent=24383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/categories?post=24383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/tags?post=24383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}