Why my CreationView.json cant read setttings.json file - kaizala-action

CreationView.json cant read setttings.json file
it can load form action and data in Kaizala

I try to follow this to build Employee helpdesk
1 helpdesk action
but following the code it will load settings.json file to show the action in form but i cant
Files
im not change any code in file just follow the instruction.

Related

Geocortex Workflow Designer Upload File

i was tring to create a workflow with geocortex workflow designer that upload a file in folder.
So to do that, i create a Form that make a file picker and it returns a IList of FileItem.
than i would take the base64 data and write a file, but it show me an error:
Geocortex.Forms.Client.FileItem.Friend Property FileDataBase64 As
String is not accessible in this context beacause it is 'Friend'
the scope of my variable its Flowchart and i can't understand why this error
this error is showned even if i try to access te variable inside the form activity even outside.
thank's every one
It is probably a security related issue.
Make sure that your target directory is writeable by Geocortex workflow. Do a very basic test.
Again do every steps of the process in isolation, in order to pin-point the source of the problem. Poliart.com

NEO4J: Couldn't load the external resource at: file:/var/lib/neo4j/import/

I am running Neo4J on Docker within Vagrant.
I am attempting to LOAD CSV WITH HEADERS from a file within the /import/ directory (I had to move my file there) via a cURL request. My request looks something like this:
"LOAD CSV WITH HEADERS FROM \"file:///insert-neo4j.csv\" AS row ...
This provides me with the following error:
{"results":[],"errors [{"code":"Neo.ClientError.Statement.ExternalResourceFailed","message":"Couldn't load the external resource at: file:/var/lib/neo4j/import/insert-neo4j.csv"}]}
It is often suggested to me that I append the following to my '/conf/neo4j.conf' file, however this file DOES NOT EXIST, and creating it manually does not seem to work...
dbms.directories.import=import
dbms.security.allow_csv_import_from_file_urls=true
So I created the file /conf/neo4j.conf with the above variables, and I also tried adding these as environment variables to my docker-compose file. I seem to continuously have no luck uploading via CSV this way.
My questions are:
Is there anything blatantky wrong with this implementation?
Why does my /conf/neo4j.conf file NOT exist and how can I get it created?
Thank you
(p.s. my insert-neo4j.csv has -rwxr-xr-x)
The error message indicates it found the file but there is an error in the CSV ... most likely the formatting. Check this and if you can't see it, please post a few rows, including the header, of it so we might help.

use LDoc to generate document for whole lua project with index page

I want to generate documentation for my lua project
but with Ldoc i generate docs for each single lua file and the output file every time overwrite the index.html file .
So my question is how i can generate generate documentation for the whole project with index page that has link to the all pages.
I tried to do that with see tag but i don't know if i can use it to reference to another file not another part in the document
I used this:
ldoc.lua.bat pathtomyproject/filename.lua
The output is the default path myluainstallationpath/doc/index.html.
Try ldoc.lua.bat pathtomyproject instead. This will generate the docs for all the files in pathtomyproject and will generate an index.html that links to each file used in that folder..

Grails file upload with image name

I have a grails controller to handle uploaded files.
Now the problem is that i dont know by which name user will upload the file.
request.getFile(fileName)
I dont know the 'fileName'.
Please let me know how to handle anonymous file upload. These files are being uploaded from a javascript rich text editor and the name of the file input is comes different with each request.
Please help.
you should dump the parmas and inspect which is varible is holding the filename it might not be the varible filename holding the actual file name. so , if u dont have the file name you would have the file handle to proceeed uploading so do as follow :
1.DUMP parmas like
log.debug("Value of Parmas"+parmas.each{it.value()})
or
println("Value of Parmas"+parmas.each{it.value()})
on your console window or what ever using the browser look for a common name that you will use further to get the file handle usually called 'filename'.

File download works from g:link but doesn't work from g:imageButton

I need to change a file download "button" from a g:link to a g:imageButton. They both call the same method in the controller with the same parameters. The g:link and g:imageButton both execute the same code with the same parameters so far as I can tell. The new g:imageButton doesn't give me a csv file download, however. It executes without any problems, but doesn't create the file download.
Both use GET. The g:link (which works) gives this message in the console:
Resource interpreted as Document but transferred with MIME type text/csv:
Why would changing from a g:link to a g:imageButton cause the file download to stop working?
Thanks.
The solution was to use g:actionSubmitImage. g:imageButton isn't in the grails 2 docs, but it works in other places in our code base that are not doing file downloads.

Resources