How to work with custom xml in PowerPoint and office.js? - powerpoint

In Word you can use the Office.context.document.customXmlParts API to get access to custom xml. In Excel you have to use Excel.run((context) => {}) and can then use context.workbook.customXmlParts for the same purpose.
How can you do this in PowerPoint using office.js?

This is currently not yet implemented for PowerPoint. However we are actively working on improving PowerPoint OfficeJS API surface, it is possible that there might be some news on this specific API in the upcoming months.

Related

Java PDF Generation iText Alternative

I am brand new to pdf generation or rendering. I am working on a application to replace iText and create kind of a RESTful endpoints using any Java related PDF APIs.
The library should be able to convert images and.., others to PDF.
Read/fill the data from PDF programmatically and also merge.
Also, if we can host it ourselves that would be the best choice.
Could you please provide some insight into this?
Not exactly a "Java related PDF API" but since you want to go REST anyway:
We use a headless Chrome in a docker container for generating PDFs. A good starting point is hc-pdf-server. We use it as an internal service using REST.
Note that this way, documents need to be designed using HTML and CSS. Also, you need to use a template engine in order to insert contents into your documents. We use Mustache. It is simple and does the job.

How to add map to a custom entity in MSCRM 2015 and how to plot multiple locations on it?

How to add map to a custom entity in MSCRM 2015 and how to plot multiple locations on it ?
It would be helpful to know more details about your situation, what you're trying to accomplish, what mapping tool you're trying to use. Without that the best I can do is offer some basic suggestions...
Making the assumption that you're going to use the Bing maps ajax control, you can put a map on a custom entity's form using a html web resource in combination with some javascript to manage the map control. Here is the Bing maps interactive SDK where you can play around with some different features of the map control to plot points, etc. And here is the Bing Maps MSDN area where you can get into the details on how to use the control.
To put some points on the map, assuming the data you want to use is related to the entity record/form currently open, you can use the javascript provided as part of the CRM SDK to retrieve data directly off the form or current record, or do some ajax calls to the CRM OData endpoint to retrieve the necessary data and finally plot that data on the map.

Reporting / Dashboard tool with good User Interface

I'm looking for a Dashboard tool with best UI, I mean any tool where I could create some UI using HTML5,Jquery and Photoshop in the front end and when ever I change the filters, different charts should appear. Or any tool that contains inbuilt one of the best UI's. Thanks.
Have you looked at Cyfe?
Cyfe has over 50 built-in integrations with hundreds of metrics (e.g. Google Analytics, Salesforce, Facebook, etc). And you can bring your own data into your dashboards using custom widgets.
Disclaimer: I'm the founder so please pardon the shameless plug.

Is it possible to retrieve Lotus notes rich text without using Lotus notes api?

I need to create a application which receives a lotus note document file . Is it possible to retrieve Lotus notes rich text without using Lotus notes api?
You also can get rich text via http/https, using web API. HTTP task should be turned on to use this method.
Just use a request as follows:
server/databasefilepath/databasename/viewname/selectionkey/richtextitemname?OpenField
This will return you rich text item, transformed into html, that is realy userful.
Yes you can by using Domino XML Language (DXL). This renders an XML style format that you can then work through however it is complex if the user has added lots of bullet points, bolding the odd image etc.
You will have to use CreateDXLExporter() either in your app or rendered via web from a notes agent however once you have built it, each document will be available to you and in fact the entire database.
HTH
If you can't use HTTP task as shiv suggested, you can try this tool by Julian Robichaux http://www.nsftools.com/tips/NotesTips.htm#richtexttohtml.
Notes from the author:
This database has a script library that describes a technique allowing
you to get the contents of a regular Rich Text field as MIME/HTML,
even if that field isn't set to store contents as MIME.

MVC compatible Grid, which will have Excel functionality

In our project we need to implement Excel-like grid for web, which will look and fell like Excel cells(not fully, but as much as it possible for web).
The most important functionality, which we need, is ability to input formulas in cells (and they could be like "=A1+C4")
Aspose.Cells looks good, but it is not compatible with MVC at all. Only with ASP.Net. And ASP.Net is not a good way to go, as large part of our system is already working and is based on MVC.
Any help\experience will be appreciated.
Thank You in advance!
You can get a long way with jQuery (jsGrid) but if you want your users to use excel why not just let them?
Excel supports Restful data
Some reading:
How can Excel 2007 / 2010 consume a REST web service?
Book list - getting book details from amazon using Excel VBA barcode lookups
http://libkod.info/officexml-CHP-9-SECT-5.shtml
http://msdn.microsoft.com/en-us/data/aa937697.aspx
http://blog.tonysneed.com/2010/04/13/wcf-data-services-versus-wcf-soap-services/
http://msdn.microsoft.com/en-us/library/bb907578.aspx
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=7609

Resources