Don´t open .cube file in excel - excel

I have the following problem:
I have a process in SSIS and it generates .cube files and saves the files in Sharepoint folders.
I have users that open the files in excel. Some can see the data in the files and other can not see anything.
There is one user who opens the file on a computer on the company network and can not see the data in the .cube ​​file, but if the same user opens the same file on a personal computer the user can see the data in the file.
Can someone help me?

There are a couple of possibilities here. First off, Excel has something called Trusted Locations. If a file is on a network share, you may need to add that share as a Trusted Location. Check the Excel backstage (or look for a video on Youtube about Trusted Locations) for more info.
Secondly, once the file is downloaded, do the properties of the file show the 'Unblock' button? They shouldn't for a typical intranet setup but there could be something unusual about your particular environment.

Related

The {file} may have been changed by another user since you last saved it. In that case what do you want to do?

This is regarding editing a shared Excel file on a Windows 10 computer.
Context:
The excel file is sitting in a Microsoft Teams site (ie. SharePoint) and being opened in the desktop version of Excel.
To clarify, the Teams file location is mounted onto the Windows File explorer via the sync button on Teams:
I keep getting this error:
But I've not found how to avoid it.
Any ideas? I am not looking to make a copy of the file because that breaks the links I've shared to the active file. But also I don't know what changes I'd be overwriting if I choose "Overwrite changes"

Sharing Office Online Excel Scripts

I have an Excel script created in my Office Online account. I see where I can share that script with another user per workbook and also where I can share the script with another user as a whole in the manage access section of the .osts file itself.
I need the script to be accessible to an entire user - not just per workbook - so I've shared the .osts file with the second user.
That user can see the file in their shared files, but if they open an Excel file, it is not listed in their scripts. How do we get the shared .osts file to appear in the Automate tab when they open any workbook?
At this point, Excel only shows the scripts that are either (a) present in user's own OneDrive folder (documents/Office Scripts) or the ones shared on the workbook. We are working on enabling SharePoint based storage that you can use to share with everyone on the team and users can open it from their taskpane. For now though, the scripts can only be shared in the Excel workbook level.
Microsoft now allows scripts to be saved in SharePoint so that other users of the SharePoint site can access them. Script-storage

How to connect excel to sharepoint and allowing multiple users to use the excel file

Alright, here's a difficult one for all the excel champions out there!
I'm making a time registration system for a small company. It contains one excel file with a list of all the different work tasks in the company. Now every employee has their own excel file, where they are to register the hours they spend on the individual tasks. The challenge is now to get the employee files to load the work tasks from the work task list document. Sounds easy!
The challenge is that all files are placed on a sharepoint drive. I've succesfully connected the registrations files with the work tasks file through my own sharepoint login, and everything works fine on my computer. Now when another employee opens their excel file for registration on their own computer, they are prompted to connect to sharepoint, however this somehow never succedes. The connection needs to be between two sharepoint files, which everybody can access, and not be dependent on any specific user logins.
Any ideas of how to make this connection in the right way?
What I'm doing right now is; Data -> Get Data -> From File -> From Sharepoint -> nameofcompany.sharepoint/site/nameofsite
And then from here I do the data transform needed.
I really don't want to make one huge excel file containing all the information, but dealing with sharepoint is driving me nuts...
Hope anybody can help!

Cannot share an autoopen-tagged document in read-only mode

I have an Excel file in my OneDrive, I want to create a URL link such that:
1) when my colleagues open the URL in a browser, it could open the file in Excel Online in the read-only mode,
2) and the task-pane of Script Lab is auto-opened.
I have followed this to tag my document, then uploaded it to OneDrive. Then, I used Share to share this document in OneDrive as follows. Note that I well set "Anyone with the link can view"
Here is the link: https://1drv.ms/x/s!AmAcI5jpNEmng2vYPFkfDRVMDFCP?e=F1I824
My tests showed that for an authenticated user, the link does trigger the auto-open of the task-pane of ScriptLab. Though, for a non-authenticated user, the link does NOT trigger the auto-open, it is a known bug, which has not been fixed.
However, my tests showed that a non-authenticated user can not edit the file (which is expected), whereas another authenticated user can well edit the file, this is not what the read-only mode is supposed to do.
Additionally, my tests showed that a non-autoopen-tagged file does not have this problem; the read-only mode works well.
Does anyone know what is happening here, is it a bug?
Is there any other way to share a document (by Microsoft Graph?) such that it could 1) trigger autoopen and 2) be read-only?

Adding a mapping to Hosts file and cannot save

I am trying to add a mapping to the Hosts file for my SharePoint site. Every time I hit save, it opens the Save As... dialog box and then says I need to save in My Documents, as I do not have permission to alter the Hosts file in its original location. I tried this on two accounts with Admin rights and the results were the same. Where can I enable this right?
Note: If it helps, this is for a SharePoint 2010 project. I am remotely connected to a server via RDP.
If it's anything involving permissions, odds are you need to open programs as administrator. A wise rule to abide by.
For this you can just open your fresh notepad as administrator... and then from File menu select your host file location and open file. After that edit the host file and save..... It will save without asking anything... :)

Resources