SAPUI5 - Eclipse file not saved - eclipse

I'm new to SAPUI5. Initially I'm working with My Fiori APP.
I have downloaded this project form this URL: http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60668332-b85d-3110-3fb7-8133d856d3e5
Now I'm trying to edit this file as my convenience, Now a time I got an error as Save coulde not be completed. I tried a lot to solve this problem. But Same issues repeated.
Please anyone help me to solve this Error.

This has nothing to do with UI5 or Eclipse. Check the following?
- do you have write permission in the folder?
- do you have write permission for the file?
Just make a right click on the folder/file, choose "Properties" and check for "Read-Only" flag...

Related

Using bnb Backup

I'm trying to make backup of whole TYPO3 (4.6) based web page.
I have bnb Backup installed but when I click on it I get message:
Please include the static template of this extension and set "BackupDirectory"
I've found in manual tha I should add bnb backup to include tab in template.
But that didnt help :/
Any idea?
There are more ways to create backups. Maybe this can help: https://wiki.typo3.org/Backup
You only need the database dump and the files. No magic.

Disable/Deactivate file preview on shared/published files in Alfresco

I want to fully disable the preview of any kind of file for shared/published files in Alfresco.
Alfresco Community v4.2.0
(r56674-b4848) schema 6033
Spring Surf and Spring WebScripts - v1.2.0
(Release 1331)
In Alfresco, you are able to share/publish any kind of file. By sharing/publishing the file, you will get a link to access this shared file. Other users like clients/customers for example are able to view the shared/published file and can download it via a link like this:
https://alfresco.example.com/share/s/9QJiV6PNSAqAlxZDnFVQlQ
My problem is, that I hate this preview regarding some browser and preview display issues. Some kind of files like ZIP-files aren't able to be displayed in the preview and this causes an empty preview, which sometime causes an missing download button.
I also just don't want the preview. Well, how can I disable/deactivate the whole preview (only) for shared/published files, that the preview does not appear, if I visit the share-link?
Thanks in advance!
Override in web-extension alfresco/site-data/pages/quickshare.xml
And remove the sub-component with id web-preview
BTW: you know if you disable the preview users won't have any ability to download or view the file.

How to add workflow in Alfresco manually..?

I am working with Alfresco as Back-end and in alfresco some task done by executing workflow.Now my problem is I want to add workflow in alfresco manually but i don't know where to put workflow script so i will choose from work space ?
Following picture describes my problem :
I reached below point but don't know what to do further ?
According to above picture From where these bunch of files are came..?? OR At which location i will find these files in project workspace?
Login as admin in alfresco.
Navigate to Company home>Data dictionary>Scripts
You will be able to see all these files.
If you upload any of your js file then it will be automatically pickedup and addedinto this list.
You will find them in Company Home/Data Dictionary/Scripts.

Where does orbeon form saved?

I am a new user of orbeon and am trying to some exercise with orbeon's code. I have downloaded orbeon source code from git. I have made a war file (with ant orbeon-dist-war) and placed it in tomcat. Everything is working fine. Then I follow the tutorial and make "my-bookcast" application mentioned there.I found the application source code at "/WEB-INF/resources/apps/my-bookcast" and I know which database is used and where the data are saved. But my questions are
When I create form using orbeon form builder using the video tutorial mentioned in www.orbeon.com, using mouse and keyboard only where the form saved? How can I see the source code (like "my-bookcast") of the saved form?
Can I use the form along with source code in other application, independent off orbeon?
Update: Can anyone tell me, if I want to see the data stored in exist-db then how can I do this. I heard about oxygen, which can be used as a exist-db browser. In that case where can I found the exist-db related configuration in orbeon to connect with the built-in exist-db?
Out of the box, the form definitions and form data are stored into the embedded eXist database. The source code you can see directly from Form Builder, with "Edit Source".
No.
Regarding the question in your update: you can disable the orbeon-exist-filter eXist security filter in web.xml, then should be able to connect with oXygen either via exist-xmlrpc-servlet or exist-rest-servlet which is mounted on /exist/rest/*.
Graphical view
You can find this icon on Right Top.
After clicking, you will get this popup and that's the source

{Netbeans}The form file does not contain valid XML.Form cannot be opened.Contents is not allowed in prolog

I was recently working on a really huge project in netbeans. I saved it in my desktop, and then proceeded to save it also in my USB. However, the next day, when I learned it could be for a later date, I deleted the one in my USB.When I put on the one in my desktop, all the work I had done was not saved on it, including the making of new JFrames etc. So I used a program to recover my deleted files. I now have loaded them into the netbeans IDE< however, there is an error sign next to most of them. When I click on a class inside my project with the error,an error message comes up before I can access it. It says "The form file does not contain valid XML.Form cannot be opened.Contents is not allowed in prolog." When I press "OK", my class has "coding" which looks like:
W�'6��G��ԧ��(g&�Cd�nw|7�\ej��
�;���كG�s=�Bl+��6�r�#ma���'�f�T�9Kx�q�M�G�t�q� �:���� \!�%İ��P�&!�[�R���`�,+��U���"���Ј���yF&mÛ�
�
Y ?/,8��#�t:�ԇ
��lOѪ|T�^?v"
....that.
And when I go to "design view" that message comes up again. What should I do? What CAN I do? I really need the bulk of my project to finish it in time!!!Oh, the project is for tommorow, so the quicker answer the better :'(
right click on the latest file from History ->revert (the .form)
Go to the history of the file and copy the content of .form file then go to directory and open the 0byte file .form by the editor and paste the content! I have done this and it worked for me.