How can I save documents to Lotus Quickr using C# .Net? - c#

Where is documentation describing how to save to Quickr using C# .Net? I'm converting a Lotus Notes application to WPF. The old Notes app contains several attached documents (Word, Excel, pdfs etc). My company recently started using Quickr as a document repository. My first challenge will be figuring out how to retrieve existing doc attachments for the conversion, but this can be done manually if necessary. The bigger issue is I need a way to allow users to save attachments using my new WPF app. I found a web service that retrieves docs from Quickr but it's useless because it doesn't save. I'm aware that there is a REST ATOM API but I have not found any useful documentation or samples written in C#.
Any suggestions on how to save documents Quickr from C# .Net?

Lotus® Quickr application programming interfaces (APIs) enable you to integrate your Lotus® Quickr content with other applications. APIs are available for the following content services Places, Templates, Policy, Search, and Documents. Using these interfaces, you can programmatically access and update much of the same information that you can access and update through the Lotus® Quickr user interface.
http://www-10.lotus.com/ldd/lqwiki.nsf/xpViewCategories.xsp?lookupName=API%20Documentation

Related

Is it possible to pull data from an excel sheet stored on sharepoint online?

I have SSIS available to me. I currently have it configured to pull using oData connector. I'm hoping to be able to pull data stored on a sheet in SharePoint online. If I have to write a c# script I can do that as well. Any help appreciated.
have you seen this thread regarding Excel and SSIS? https://stackoverflow.com/a/45571274/6445723
It suggests fetching the excel file from SharePoint and afterwards loading each separately as a data source.
Alternatively if using SSIS is not a must, then you can look into using the Excel Graph REST API (Do not confuse this with the Excel Services REST API that has been available since SharePoint 2010 and is only relevant for on-premises deployments). Here is a link about this API: https://developer.microsoft.com/en-us/graph/examples/excel-workbook-integration
The advantage of the latter approach is that does not require a specific programming language: anything that you know well and can make a REST call will pretty much do.

How to edit docx file in C# using Microsoft.Office.Interop.Word

I need to replace user's meta tags #likethis# inside a docx file for a value in database. It was fine replacing simple strings editing the byte array of file directly. But it became more complex when I needed to load a table of data. So I had to try to use this lib but its documentation it's pretty poor.
I find on this reference how to replace bookmarks by values
https://social.msdn.microsoft.com/Forums/Lync/en-US/ed7278b1-1fc7-44d5-9e87-4c3e41a110cf/how-to-modify-bookmarked-fields-in-word-docx-file-from-code?forum=worddev
But there's a way to track down a string inside the text and replace it for any content (like other text, or a table or a image like a logo) ?
The Considerations for server-side Automation of Office article states the following:
Microsoft strongly recommends that developers find alternatives to Automation of Office if they need to develop server-side solutions. Because of the limitations to Office's design, changes to Office configuration are not enough to resolve all issues. Microsoft strongly recommends a number of alternatives that do not require Office to be installed server-side, and that can perform most common tasks more efficiently and more quickly than Automation. Before you involve Office as a server-side component in your project, consider alternatives.
Most server-side Automation tasks involve document creation or editing. Office 2007 supports new Open XML file formats that let developers create, edit, read, and transform file content on the server side. These file formats use the System.IO.Package.IO namespace in the Microsoft .NET 3.x Framework to edit Office files without using the Office client applications themselves. This is the recommended and supported method for handling changes to Office files from a service.
As a workaround you may consider using the Open XML SDK for open XML documents. Or just any third-party wrappers designed for the server-side execution (for example, Aspose).

Ability to edit Word documents with a .NET web application

I've been asked to give users the ability to upload existing Word documents or to create a new Word document within our application as part of editing a mailing template. The editing should occur within a frame as it would be part of a large page.
Are there third-party components for the import and UI or even better does Office 365 allow this type of functionality?
You can use Office Online to integrate view/editing of office documents. For more information see Integrating with Office Online.
The end solution, which is robust, secure and high performance was to use IT Hit WebDAV Server for .NET.
https://www.webdavsystem.com

how to write/modify a xml file in SharePoint using a client side language(JavaScript)

Currently I'am working on a ASP.NET project and I have written a C# code to write/modify my XML document, which I'am using to structure my portal.
I now have to migrate my project to SharePoint, where I'am able to read my xml document but i don't know how to modify the same. Is there any way i can do it with the help of JavaScript.?
I have read many blogs, but wasn't able to get any satisfactory solution. My colleague told me that he modified a database using SharePoint using JavaScript so there would be a way to do the same with XML.
Any suggestion would be appreciated.
What you are looking for is the SharePoint JavaScript object model.
This is a sharepoint library that allows you to manipulate sharepoint objects using javascript.
SharePoint does allow you to share documents too, so you could upload an xml document to a SharePoint library. But if you are building a SharePoint site, there are probably a lot better methods to customize it, like a SharePoint list, than using an xml file in a SharePoint document library.

Print contact details to PDF

I need to get some contact detail and print it to PDF. Is there any way to do this in Windows Phone 7?
Even if you create a PDF in your application, it will not be accessible by other apps or your computer. The solution is emailing that file. Thus, you should send the details to a server and get it converted to a PDF then download it on the phone or, the server may email it for you.
There are many web services which will do this for you. See this: http://blog.nitropdf.com/2008/01/free-online-web-services-to-create-view-share-and-edit-pdf-files/
There's a branch of the SharpPDF project called PdfSharp for WP7. It states that it is not fully featured. It may/may not provide you with enough functionality for what you need. I haven't personally looked at the library, so you may wish to download it and see what features it provides.
Other than that, one of the most common ways to generate a PDF document using C# is iTextSharp. This most likely uses advanced features in the .NET framework and probably won't recompile for the Windows Phone. You could code up your own converter service that could also dispatch the newly created PDF via email once done. The app would usually be hosted somewhere (on a server or in the cloud) and would be accessible via WCF.

Categories