Programatically pick PowerView properties from Microsoft Excel 2013 file - excel

I have a requirement to programmatically read/handle PowerView properties like title, theme, background, font-size etc. from a Microsoft Excel 2013 file. Also I need to access the properties of the objects which are added on to the PowerView, for e.g. properties of a table or a image added to the PowerView.
I have been looking for it since long, but no luck. Is there a way by which I can achieve it? Any pointers regarding this would be really helpful.
Thanks in advance.

Power View properties are not exposed via the Excel object model.

Related

generate multiple pdfs from a database

I would like to generate multiple pdfs at once. Those pdfs should pull data from a database. It can be an excel table or a relational database, doesn't matter, I can create whatever.
Using excel and javascript in adobe acrobat pro I managed to pull data into a template pdf, but for every record (row) I have in excel table I have to manually generate one pdf, then another, and so on.. and there are a lot of records, so I would like to do that automatically if possible.
Is there a way to do that? Any suggestions?
I added an image to better explain it...
Look into the Acrobat SDK, Section: "Interapplication Communication" to learn how you can control Acrobat via VB/VBA and how you can work with the JavaScript Object (JSO).
Then have a look into the "Acrobat JavaScript Scripting reference" and look at
the Doc Object with commands like .. addField and at
the Field object to set the properties of the fields.
That should do what you want, Reinhard
PS: With Open Office you can save spreadsheets as PDF and with newer version of Excel too. Wouldn't that be already enough or perhaps a mix of above and this.
Full disclosure: I founded and run Epsillion Software.
mirta, one option is Epsillion Publisher. We built it for your exact use case.
You would need to specify what your template should look like. The Epsillion team will design it for you.
You then specify what your variables are in a Word document (e.g., name, last name, date of birth). The software will process the Word and Excel files and return PDFs for you.
Templates are flexible and flow as needed.
Hope that helps. Good luck!

How to get sharepoint list data in cdata(xml) format

i want to get sharepoint 2013 list data in cdata(xml) format using out of the box webpart.please suggest how to achieve it using OOTB webparts. sample code is attached here:
Image
One way to retrieve lists in xml is to use the default rss-button which will lead you to following page
_layouts/15/listfeed.aspx?List=your_listguid

CRM 2015 + Issue related to Translation

I need to translate some views in french in CRM 2015 Online so I did the following steps:
Created a solution, added the entity on which the view is created and saved the solution.
Selected the solution and clicked Export Translation
After export i get 2 files [Content_Types].xml and CrmTranslation.xml
However i could not locate my view in the CrmTranslation file
Views are basically "Accounts I Follow" "Contacts I Follow"
Any idea why these views are not present in the translation file?
Please help
The CrmTranslation.xml can be opened in Excel. The labels can not easily be related to entities, attributes etc, because they are only specified by Guids. Therefore your only option is to guess the location of the labels you need to translate.
Just add missing translations in Excel, save the file and import it in Dynamics CRM.

Dynamically set the source (workbook) for the Sharepoint 2013 EWA (Excel Web Access)

I am trying to dynamically set the source (workbook) for the Sharepoint 2013 EWA (Excel Web Access) from a SP (sharepoint) list that will contain the excel workbooks. I have searched the internet for a solution using jquery/JS but i haven't had any success.
The other possible way that a college proposed was to use connected web parts but I am still a little vague on how that will achieve my desired results.
Is there any way of achieving this functionality?
The standard structure of EWA URL is: https://tenant.sharepoint.com/tw/_layouts/15/WopiFrame.aspx?sourcedoc={FF2FDEBB-67AA-4061-952C-647942D56596}&file=filename.xlsx&action=default
The minimal is:
https://tenant.sharepoint.com/tw/_layouts/15/WopiFrame.aspx?sourcedoc={UniqueId of the file}
You can place IFRAME element on your page and change it's SRC attribute using JS to display excel file you want.

Sharepoint List to PDF report

I have a SharePoint list and I need to transform it into a document (any type) and export it to PDF. Would you have any tips on the best way to do this? I have Crystal Reports but not sure if this is the correct use case for this.
You can programatically access the document library using the object model or via web services.
If you use the object model. You can use the SPContext object to get the current site/list. From there, you can iterate through the items or, you can use a method on the SPList object to turn it into a dataset which you could then use to generate a PDF using some kind of PDF library (e.g. PDF4NET). If you go this route the best way to roll it out is by packaging it up as a feature in a solution file (.WSP) which you can deploy to your farm. In this case the code would be running in the share point environment. You can get pretty fancy with this and have something like a "Print PDF" menu option in the action menu for all lists.
On the other hand, you could also access the list remotely using the web services. In such a case you could just use this as a data provider for your reporting package.
The PDFsharepoint tool (http://www.pdfsharepoint.com) can be used to generate the PDF output. Nice thing about this tool is that you will "design" or "import" a template using WYSIWYG editor and only map the data. Without mess of coding your own PDF generator. It is not free tool though ...
I have had much success using MS-Access for creating PDF reports from SharePoint lists. You can even embed the report as a view in the list. When you select the view, it opens Access for you. Plus you can join multiple lists and even other data from within access.
Access 2007 will save a report as a PDF or you can use a PDF printer adapter such as PDFCreator.
The easiest way to export SharePoint list to pdf is, first export the list as Excel file. Then save the Excel file as Pdf document.
There is a 3rd Party product that automates this.
i-PMO's "SharePoint Data Miner" can be used to create a RS Report across any list data, then use the their SharePoint site Report Viewer and Document publisher to output the report as a PDF into a Document Library.

Resources