Generate documents(word,Excel,PowerPoint) from Document Templates with Security Markings programmatically
Hi
It is required to create office document (can be word, Excel, PowerPoint etc) from predefined template with security markings programmatically within SharePoint Document libraries..
help with example source and references appreciated.
Best
Hi,
According to your post, my understanding is that you want to create a document based on a predefined template.
When we create a predefined template, actually the template is bound to the content type, we can retrieve it using its url.
web.Lists[YourList].ContentTypes[yourContentTypeId].DocumentTemplateUrl
Then we can retrieve the predefined template as an SPFile, and use the
OpenBinary() method to get the byte[].
There is an article about this topic, you can refer to it.
http://nickgrattan.wordpress.com/2008/12/08/code-for-creating-new-documents-based-on-a-content-type-and-template/
More reference:
http://sharepoint.stackexchange.com/questions/22253/how-do-i-create-a-new-document-in-a-document-library-according-to-a-template-in
http://sharepoint.stackexchange.com/questions/60506/programmatically-create-a-new-document-based-on-a-content-type-template
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support
Similar Messages
-
Kindly confirm on the following features of Iphone 4s..and advice me accordingly.
Confirm on - Scratch-resistant glass, oleophobic coating,Adobe Flash HTML,Radio Stereo FM,Java MIDP emulator,Scratch-resistant glass back panel,Audio/video player and editor,TV Out,Document editor (Word, Excel, PowerPoint, PDF)You can easily compare any Nokia devices using the web sites, here is a comparison of the N8 from the Nokia UK site:
http://www.nokia.co.uk/gb-en/products/compare/?action=productcompareaction&site=64060&products=23301...
And similar from Nokia Developer:
http://www.developer.nokia.com/Devices/Device_specifications/Comparison.xhtml?dev=Lumia_800,N8-00
Some information may be incomplete at present, since some device details were kept secret until the final moment of the launch so the pages have been prepared withoug all of the data.
Nokia Maps is available for Windows Phone at launch.
Multi-Touch(TM) is the registered trademark of another company, however Windows Phone does feature the common touch features such as swiping, pinch-zooming and so on.
If this or any post answers your question, please remember to help others by pressing the 'Accept as solution' button. -
What do I need to do to display a MS Word, Excel or PDF document in browser
Hi, Right now I have photos loaded and displayed in my HTML document in the browser next to a report...
What do I need to do to display a MS Word, Excel or PDF document in a browser?
I use the following procedure to load the content to the region of my HTML .
This gives an EDIT link to the photo...
select
'[img src="#OWNER#.display_thumb?p_file_id=' || nvl(file_catalog_id,0) || '" /]' "File"
from "FILE_CATALOG"
where "FILE_CATALOG_ID" = :P9_FILE_CATALOG_ID
This is the procedure to load the content to the region of my HTML .
create or replace PROCEDURE "DISPLAY_THUMB" (p_photo_id in number)
as
l_mime varchar2(255);
l_length number;
l_file_name varchar2(2000);
lob_loc BLOB;
begin
select mime_type, thumbnail, photo_name, dbms_lob.getlength(thumbnail)
into l_mime, lob_loc, l_file_name, l_length
from photo_catalog where photo_catalog_id = p_photo_id;
-- Set up HTTP header
-- Use an NVL around the mime type and if it is a null, set it to
-- application/octect - which may launch a download window from windows
owa_util.mime_header(nvl(l_mime,'application/octet'), FALSE );
-- Set the size so the browser knows how much to download
htp.p('Content-length: ' || l_length);
-- The filename will be used by the browser if the users does a "Save as"
htp.p('Content-Disposition: filename="' || l_file_name || '"');
-- Close the headers
owa_util.http_header_close;
-- Download the BLOB
wpg_docload.download_file( Lob_loc );
end;These were supplied from Justin in Experts Exchange..
For PDF, see here:
http://www.adobe.com/support/techdocs/328233.html
http://www.adobe.com/support/techdocs/331025.html
For Word docs, see here:
http://www.shaunakelly.com/word/sharing/OpenDocInIE.html
Any other input... any AJAX? -
How to attach a document (word/excel file etc)
Dear Sir,
We need to attach documents (word/excel/pdf etc) in a FORM application and the attached document need to be stored in database also . There may be multiple documents getting attached . We also desire that if a transaction document say Purchase-Order is having attached documents with it then an icon should appear on the screen so that user can come to know directly about the attachment .
We request you to kindly guide us about the steps to be followed to meet the above requirement please .
With thanks and regards
B MittalHello,
ALWAYS give the exact Forms version as solutions can be very different depending on that detail.
Francois -
Mac Book Pro
Processor 2.9 GHz Intel Core i7
Problem occurred since installing OSX Yosemite Version 10.10
When I use the Save As box it flashes making it very difficult to save a document. This happens in Word, Excel, PowerPoint.
Using Excel for Mac 2011. Version 14.0.0 (100825). Latest installed update 14.0.0.Microsoft has issued update 14.4.5, and within the last day, 14.4.6 — both available from AutoUpdate — for Yosemite compatibility and other tweaks. If you have not done so, I recommend you update to stay current. The re-evaluate if it resolves your Save As visuals.
-
Share Word, Excel & PowerPoint with other users
I am the system administrator on my iMac (OSX - 10.5.6). I installed Word, Excel, PowerPoint and Entourage onto the iMac. I then created a Standard User Account for my wife. She however does not seem to have access to the Microsoft Applications.
Any suggestions on how I resolve this?Matt - Thanks for responding so quickly. I found the MS apps in a folder called MS Office 94.. duh sorry. If she and I want to share certain documents, spreadsheet or even a data file from something like Quicken for Mac is there a specific directory that all Standard User accounts can view and share?
Thanks -
Code generate report in excel format from portal(Application Server)
Hi all
Please give some solution with code generate report in excel format from
oracle portal(Application Server).Not feasible.
Why? Because "the Excel format" is a binary and proprietary Microsoft file format. And writing a generator to generate Excel files will be complex, and resource expensive. In the vast majority of cases this will not be justified.
As an alternative the very basic Microsoft XML office format can be used. But note that this is not a a ISO standard (it has been shot down in flames) - and effort and resources for that would be better spend on the Open Document XML standard (which very likely will be ratified as the ISO standard instead).
Of course, you could have meant a CSV file - in which case, you need to play close attention to details. CSV is not an Excel format. A software designers and developers, our success is determined by attention to technical detail. In which case you are not paying any attention to technical detail by confusing CSV with Excel. -
How to launch application like word, excel, powerpoint or *.exe on client
Hi,
could anyone advise which iView or other portal application I have to use, to get an application like word, excel, powerpoint or *.exe on Clinet side (e.g. notepad.exe) working.
Solution should be: I will klick in the fine navigation on the link word. Word should be open. ALso it should work with other applications.
Is there any solution for this? Maybe even a standard solution (without coding).
I have created km document iView (.html page) to link to the applications via java scripts in the html code. But this solution ist not the one i am searching for.
Regards,
Eduard
Edited by: Eduard Günther on Jan 28, 2009 10:24 AMHi .
You can use these method in sequence as follow:
1) CALL METHOD cl_gui_frontend_services=>file_open_dialog
this method let the user choose a file form his computer ad return the file path (ex.: C:/..../file.txt)
2) CALL METHOD cl_gui_frontend_services=>gui_upload
this method upload the file and return the file content.
After you got the content of the file you can store it inot a custom table .
There are similira merhod for the inverse problem (file download).
Regards,
Fabri -
How to install & use microsoft office (word,excel,powerpoint) in ipad?
1.How to install & use microsoft office (word, excel, powerpoint) in ipad?
2. How to delete applications in ipad once it is installed?Microsoft Office won't work on iPad.
Try Apps like:
1. Documents To Go
2. Quick Office Pro HD
3. Office2 HD -
Whenever I turn my MacBook pro on, all the other stuff is loaded (MS word/excel/powerpoint), Spotify, iCal, etc are automatically loaded, so in order for me to go to my desired website, I have to close (x) out all applications loaded. Please advise.
If you are using Lion:
Dealing With The Resume Feature of Lion
Managing Mac OS X Lion's application resume feature.
If you shutdown your computer you should get a dialog asking if you want applications to resume on the next startup. Simply uncheck the box to prevent that from occurring. Open General preferences and uncheck the option to Restore windows when quitting and re-opening apps. You can also install a third-party utility to control resume features on individual applications: RestoreMeNot or Application State Cleaner.
It is possible to completely stop the Resume feature although I'm unconvinced that it is that annoying. Nevertheless see the following:
If you have not yet done so you must first make your /Home/Library/ folder visible. Open the Terminal application in the Utilities folder. At the prompt paste the following command line:
chflags nohidden ~/Library
Press RETURN. Quit the Terminal application.
In the Finder navigate to the /Home/Library/Saved Application State/ folder. Delete the contents of the folder. Back up to the /Home/Library/ folder. Select the Saved Application State folder. Press COMMAND-I to open the Get Info window. In the Sharing and Permissions panel at the bottom click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window.
Quit all open programs except the Finder (this is very important.) Next, navigate to the /Home/Library/Preferences/ByHost/ folder. Look for a .plist file with "com.apple.loginwindow." in the file name followed by some numbers in hexadecimal. Select the file. Press COMMAND-I to open the Get Info window and in the Sharing and Permissions panel click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window. If you also find a file with the same filename but with a last extension of ".lockfile," then you should delete it.
The above should eliminate the Resume feature system-wide. Note that any future system updates or upgrades will likely undo these changes. You will then need to repeat this procedure assuming there are no major changes in OS X related to it. -
I am a new mac owner & want to purchase Office for Mac. Thought I was told I could get it through the mac store for approx. $80 (word, excel, powerpoint). However, it looks like the cost is actually $150. Is there a better deal?
Here it is from a trusted vendor of Mac goodies for US$100:
Microsoft Office 2011 Mac: Home/Student Edition. Single User License.
I also see the Mac version offered about every other week at Staples for about the same price.
Understand that the 2011 "Home/Student" edition does not come with a mail client.MS dropped Entourage with the 2011 version.
I am running Office 2008 on a Late 2010 i7 Quad iMac and a Core 2 Duo MBP (both are at OS 10.6.8) and I have no complaints. If you want the Entourage Mail client, you can still get Office 2008 from the vendor I linked.
I wonder if someone quoted the US$80 price thinking of Apple iWorks. -
To whom it may concern.
I bought an apple product which is MacBook Air about 7 mths. ago . Anyway I would like to download a compatible words, excel, powerpoint. they told me that I do not need it since IWORKS is all I needed. I tried my keynote , numbers does not worked. Somebody emailed me sending me this mumbo jumbo for it to work. Well, if I was a computer wiz, I probably will not be asking for help.
I followed the tutorials for windows for mac, followed every instructions, hold and behold another problem. I have to have a usb, when I bought this at Best Buy, I asked them what do I need , they said that I do not need anything else because it is all in there. So to make a long story short. I am just so frustrated .
How can I download the windows for mac, I know I have to start in utilities , boot camp assistant, then the usb problem. Please I need help, it is much needed for my job. Ipages does not saved anything, I mean nothing it just disappeared , and you do not have any idea how much I have the long hrs. I have put in.
Thank you so much for your help. I really appreciate this .You can buy Microsoft Office for Mac, it includes Word, Excel and Powerpoint. Or you can download a free copy of LibreOffice which contains substitutes (good ones) for the Microsoft Office programs.
Do not even think of using Boot Camp unless you have a complete and current TM backup or a clone to restore if it goes wrong. You will also need to buy Windows and Microsoft Office for it. And you MUST read the directions very carefully. -
Language interface / taal van menubalk word, excel, powerpoint 2011 Mac
My interface of Word, Excel, Powerpoint Mac 2011 is in Englisch. I want to change this in Dutch.
Is it possible to change the language of the interface (menu)?
Thank you for your help!
SonjaI think you would have to install it again selecting the correct language on the installation process.
Have you asked on a Microsoft support forum? maybe they can give you a more precise answer since Word, Excel and Powerpoint are Microsoft products. -
How do I download office applications viz. word, excel & PowerPoint?
How to download / purchase office applications viz. word, excel, powerpoint & outlook in my iPad 2?
Welcome to the Support Communities. This Q&A may help:
Microsoft Office on iPad -
Just download lion and my words/excel/powerpoint didn't work anymore
Just download lion and my words/excel/powerpoint dont work anymore, any idea why?
Office 2004 is a PPC (Power PC) based application. That CPU stopped bing used more than 6 years ago, and there was a program called Rosetta which could run PPC apps. But Lion does not support Rosetta, a fact which has been warned of for years.
The only versions of Office supported in Lion are 2008 (if it was on already) or 2011 (new install).
You can by Pages, iWorks, free Office-replacements like NeoOffice or Open Office or LibreOffice.
Or pay $200 for Office 2011.
Maybe you are looking for
-
My computer has Windows 8. I keep getting an error message when I try to download Itunes 11----Invalid signature. Can anyone help?
-
Selecting Multiple Images to Copy - Fragmented Image
Hello! I made a pdf out of a powerpoint presentation on a friend's windows computer. I am now trying to extract an image that I lost while editing on my computer. The problem I have run into is that the image was fragmented into multiple pieces in th
-
Can you open InDesign CS files into CS5?
Hi all, My former company wishes to upgrade their ooooooooooold software to the latest version:) They currently have InDesign CS and want to make the leap to CS5. The question is...will it be possible to open their current CS files into CS5 once they
-
Dispatch background error in bdc vl01n
Hi Guru, I am creating a module pool program,in module pool program we have 30 input fields through this input field we store the data in z table and pass quantity,serial number and lenght in vl01n. but in forground ground working fine but backgroun
-
How to grant to apps user through system user
I have created directory by loging system user but when i try to grant to apps user getting error " table or view does not exists'.