How to add metadata to sharepoint - sharepoint-2010

I'm very new to Sharepoint and I'm asked to add a metadata to a file.
When you are in a document library you see a lots of uploaded files. the have a type, name, modified and modified by meta data. I would like to add a new metadata field. But I don't know how.
I've downloaded the Microsoft Sharepoint Designer.
And once the have the extra metadata field is added it to needs be filled via the querystring. I found something about that on the Internet, but where I have to add the javascript I don't know, so any help with that would be very appriciated.
Thnx

Do you want to add fields like type, name, modified and modified by ? and it should be filled
by the uset at the time of upload?
If yes, then you dont have to use javascript or something like that
Just create a new column in the list or library by folllowing the steps given below:
Go to your list or library and click on Library in ribbon
click on list Settings,
Find Create new columns.. Follow the steps and click ok
It will create new field(metadata) in your list / library
Let me know if I wrongly understand your question

Related

Sensenet upload files to a document library - fields fill

It is possible in the moment of upload a content to a document library show the fields defined (of the document library)? At the moment, the only way that the user have to fill the fields is uploading the document first and then click edit to fill the fields.
Unfortunately there is no out-of-the box solution for this scenario. I agree that this would be useful, but currently you have to create a custom solution.
You will have to create a UI that displays the upload control (you can use the built-in Sense/Net plugin) and also the form fields. In the click event of a button, you have to first start and finish the upload, retrieve the new content id and than update the metadata fields - all this in JavaScript. This way users would not see the difference, for them this would be a single operation.
(in mid-term we plan to offer a built-in control that will make this possible, but we do not have a timeline for this feature)

Trying to extract data from mdb file upon selecting the file in a listbox

I am generating a new project from an existing template every time i click on create and renaming the same as a new project name (an mdb file)in the same directory. The details mentioned in to the right namely location, engineer, contractor etc are stored in this mdb file at this instance.- so far i am successful....
Now that i have the list of projects listed in my list box I would like to select any one and I wish to see the details for the same to my right.
I've posted a link having a .bmp image of the form. Help is highly appreciated.

Attach a document to a WebEvent in Ektron?

I'm fairly new to ektron. I want the users to be able to attach a document to a Calendar Event (such as an Agenda PDF or Minutes PDF) and I want to display that link, in the Event Details page, so users can view and download it. I don't see any way to do that on the Edit Event form inside the workarea. That doesn't make sense that they wouldn't include such a simple option by default. Do I really need to customize the workarea or create a smartform so users can upload documents along with their events? Can someone recommend the easiest approach to do this?
You should be able to do this via the API. If you don't want to use the API, you could maybe use a content selector metadata item (this would require uploading the file first).

How to convert XDP to PDF in Adobe LiveCycle ES3 via HTTP REST request

I have: LiveCycle server (ES3, JBOSS), Workbench, Designer.
Using LC Desginer I convert PDF to XDP - it's template now.
Now I need to convert that XDP file to PDF.
So, I guess I should somehow call LiveCycle server by HTTP request, in body of this request I can send body of XDP document. All what I need from LC is just PDF.
Looks like simple task, but I can't find ANY information how to do this. I see a lot of examples how to do this in Java, but I don't need Java, I need to do it via HTTP (REST endpoint or SOAP if it's not possible).
Maybe I need to create some "application" in Workbench? If so, is there any step-by-step documentation? Or maybe somebody can explain me, how to do this. Maybe there is already build-in application in ES3 Server - I think it's very common and simple case.
UPD: I've opened job at Odesk for this issue, I promise to post solution here to share knowledge with community
As was promised, here is how to solve this issue:
It's not enough just put PDF into LiveCycle Designer. You exactly need to design form in LC Designer. You can use your PDF as template, but for all things which you want to fulfil by your custom data, you need to add objects in LC Designer (take a look at the "Insert" menu, try Table or Text Field) and add Data Connection in the "Data View" tab. I think it's pretty easy step for professionals, but it can take some time to get by beginners. Save results of your work as, for instance, Template.xdp file.
Also you now have the example of XML file - source of the data. Let's name it DataSource.xml
Now we can install LiveCycle Server. Best for LC ES3 is RHEL 5.5 (we spent around 2 days just to find correct combination of OS and settings). You'll need a clever system-administrator (or just experienced in Adobe LiveCycle :))
Server is working now, you can see web-interface, so let's create application in Adobe LiveCycle Workbench ES3. Add an application with new name and add a process to that application. It will take to many words to describe all steps of process, just take a look at screenshots of result (and notice variables also):
Now most easy part - call this app by the HTTP request. But we can't just send usual POST request to Adobe LiveCycle :) We have to send content of 2 files (Template.xdp and DataSource.xml) as multipart/form-data and names of the parts are the names of input variables (in my example is xmlTemplate and xmlData). And don't forget Authorization header with Basic authorization credentials.
In the Response you'll receive base64-encoded body of the PDF document.
Thanks to Thierry Stortenbeker for this application and for help and patience.
Yes, you have to create an LC application using workbench. Here is how to do it:
Create a new application in workbench using File -> New -> Application.
Create a new Process using the right click menu at the application.
Drop in renderPDF form activity from the activity and name it "renderPDFForm".
Select renderPDF form activity to add variables using the bottom pane of variables.
Add a variable of "Document" type and name it "inputXDP". We will use this to pass xdp file. Mark it to be "input" variable.
Add a variable of "Document" type and name it "outPDF". Mark it to be "output" variable.
Now double click renderPDFForm activity, this will open a property editor on the left side.
Expand "Input" section if not expanded already. Make sure "Form" to be picked up from variable. Then choose "inputXDP" from the dropdown.
Expand "Output" section if not expanded already. Make sure "Rendered Form" to be picked up from variable. Then choose "outPDF" variable from the dropdown.
Now deploy your application by right click menu on application.
That is it. You are ready to go. Now save the process and double click "default start point" to get the rest url where this service would be exposed. The rest url should look like http://localhost:8080/rest/services/RestFormRender/renderForm:1.0. Here RestFormRender is name of the application and renderForm is name of the process. Now make a GET/POST call to this REST url and specify XDP bytes in "inputXDP" request parameter.

Print as PDF functionality in Contacts module

I am using Sugar Enterprise 6.4.0
Is there any way to Add "Print as PDF" like functionality available in Quotes module to the Contacts module. I want to save the contact information into a PDF format by clicking on a button that may appear in the Contact module Detail View.
I know this is an old question but thought would post a related reply, might help out someone.
In the Contacts module there is a Generate Letter option in the actions dropdown on detail view. This option will link to the related templates you create in PDF Templates module.
If you do not have a pre-defined template, you can go to the PDF Templates module build a custom template for the related module with the information you need in the PDF.
Then when you click on the Generate Letter link, it will show you the templates present for the said module, you just have to select the preferred template and it will download the PDF for you.
If I've understood your question correctly this I think might help you.
Check out Synolia PDF Manager....
http://www.sugarforge.org/projects/synopdfmanager/