Replace Information Link in a Report - spotfire

I created a report - RptBasics and saved it in spotfire library. The report is built on Information Link named UserBasics. I realized after creating whole report that it was to be built on Information Link named CustomerBasics.
Is there a way I can change only the Information Link of report instead of rebuilding whole report from scratch ? Alternately, can I duplicate whole report and change Information link at that time ?

Yes to both of your questions.
Is there a way I can change only the Information Link of report instead of rebuilding whole report from scratch?
Open the dxp in the Professional Client
Click File > Replace Data Table
Select the Information Link you want to replace from the dropdown
Click Select > Information Link
Choose the NEW / CORRECT Information Link
Alternately, can I duplicate whole report and change Information link at that time
When you save the dxp back to the Library, just save it as a different file name. Thus, you will have two versions... each with different datasources.

Related

APEX: Read uploaded excel file with as_read_xlsx

As far as I understand, APEX 5.1 does not support Excel files to be loaded into tables.
I found this package that seems to make it possible to SELECT from Excel files, but it does not show how to use it with, for example, files loaded via the "File Browse" Item.
Now, I am very new to this environment, so please explain it from the beginning.
What I did is I upload the package script to the SQL workshop and executed it, without errors. But now?
APEX 5.1 doesn't support it out of the box, but you can use the EXCEL2COLLECTION plugin (available here).
It is very straightforward, just create a file browse page item with an upload button which calls an onsubmit process (e.g. CreateCollection) of type Excel2Collection[Plug In] - specify the file browse item, a collection name and the CSV separator, then you can do as you please with the data (e.g. you may want to run some validations on the data then insert it into a table where you can access it as normal).

How to get data from Sharepoint excel datasource to Power BI desktop?

I want to load an excel which is in Share point to Power Bi Desktop.
I have tried loading the sheet by using the data source SharePoint List but failed as its throwing an error. Please help me by suggesting any other way.
Thank you.
I would use Get Data / Web. It will automatically recognize that the target is an Excel file and generate the M functions to interpret it.
The trick can be getting the true link to the SharePoint file - something you can just paste into a browser's address bar so it will download the file directly.
For SharePoint Online, I use Get a Link / Restricted Link, then delete any trailing query parameters after the file name, typically ?d=blabla
That should also work for SharePoint 2016. From memory it was easier in the earlier versions.
I suggest choosing Sharepoint Folder from the Get Data menu.
Then you need to enter the site's (or subsite) root url (not the direct link to the excel file)
For example, you would connect to.
https://yourcompany.sharepoint.com/training/
Instead of the full address.
https://yourcompany.sharepoint.com/:x:/r/training/_layouts/19/Doc.aspx?sourcedoc=%2asdfasdfasdfasdf%7D&action=default&uid=%7asdfasdfasdf-4662-A7A5-asdfasdf%7D&ListItemId=2&ListId=%7asdfasdfasdfa3443445&env=prod
Then press Edit to reveal all of the documents stored at that root. By clicking the binary link, the query editor will reveal the contents of the file. Then select the tab you're interested in loading by selecting the Table under the data column.
Steps to get the data from sharepoint to Power BI:
Select the File available to share pont
Click on three dots
Go to Open-> Open in app
In app, click on File -> Info -> Copy Path
Open Power BI, New Source-> Web
Add URL, delete (data with and after ?)

Download a document from SharePoint with version number

I need to be able to download a file out of SharePoint (to send externally) that has the version number in the file name.
Is there any way to do this without custom code? If not, how would I code this?
File in SharePoint -> Specifications.doc
Downloaded file -> Specifications V99.doc
I use SharePoint 2007, but I am also interested in a 2010 solution.
Don't think it's possible out of the box. As for manual implementation I see two ways:
1) If you can use some external application (or, for example, webpart or page) to do that, just get sharepoint file as binary stream and save it with the name you want.
2) If you need it to look like standard downloading, add a new custom button to document context menu (Ribbon in SP2010) and again do whatever you want with that document when user clicks the button.
This is about as close as I think we can come at this time:
http://spversionindocs.codeplex.com/
It allows you to have a version number field in your document that is automatically updated with the version number from sharepoint.

Find the name and size of the uploaded document using Fiddler?

Will I be able to identify the name and size of a document that I am trying to upload into a SharePoint 2007 document library using Fiddler2 tool?
Follow these steps:
With Fiddler running, select the relevant entry for upload.aspx.
Switch to 'Inspectors / Headers'
Have a look at 'Entity / Content-Length'
I just did a test and it roughly corresponds with the length of the file. I am not sure if it is a 100% match or if headers etc are counted towards this length as well.
Open the document library in Explorer View
copy & Paste the document
Fiddler->Inspectors->Entirty->content-length
Fiddlet-> Textview -> will be able to see the Name ofthe file.

SharePoint Designer 2007 - link to a Document Library on a site from another site?

I am trying to create a link to an existing Shared Documents folder on another site. Both sites are on the same server.
Here are the steps I take to create a link to an existing Document Library:
I create a document library web page in Share Point 2007.
I open the document library (AllItems.ASPX) in Share Point Designer.
I delete the existing web part for the list.
In the Data Source Library, I click on "connect to another library" and create a connection to the other site.
I select the document library, click show data, select my rows and click Insert Multiple Item View.
I then configure the look for each field (hyperlinks, etc).
I edit the Filter for this view to show only the files that are for this location.
I click on Data View Properties and select "Enable sorting and filtering on columns (basic table layout only).
Basically I am trying to have a central location for all files for a site and sub sites. I want the sub sites to see the documents for their own location, be able to search through the files, etc.
The problems I am having are:
I am unable to open the links in a new window, even when I set the hyperlink to do so. I would prefer the file be opened in its native application (ie. A Word doc open in Word).
I am unable to show the file icon in the same way it shows up in the original document library.
When I go to the header and click ANY field, I can sort the field ascending or descending but I always get a message stating "This column type cannot be filtered".
Is there an easier way to do this? Or can someone tell me what I am doing wrong? I am new to using Share Point. Thanks for the help!
Some help for problem 1 (unable to open the links in a new window)...
I'm not sure if this will work using the Data View Web Part you have configured. However there is a technique for the List View Web Part. If you add a boolean field called OpenInNewWindow to your document library then documents that have this set to Yes will open in a new window. Try this out - it may work.
If you need to open PDF files in a new window, beware that there is an ActiveX control that will get in the way. Read this question for more information.

Resources