Sharing reports between users in salesforce - salesforce

An user has created few reports in salesforce and he has been removed(deactivated) from salesforce .So now i want to share his reports to some other user in salesforce.How can i do this. could someone help??

The default save location for custom reports is "My Personal Custom Reports." That is a private folder that only the authoring user can access. To share reports, they need to be saved to a public folder.
In your scenario (assuming these reports are in the private folder), first create a public report folder, then login as the user (you will need to reactivate them first), and go into their "My Personal Custom Reports" folder. For each report you want to share, you'll need to open it and choose the "Save as" option, then select the public folder as the destination. A new copy of the report will then be available to anyone with access to that folder.
If the reports are already in a public folder, you simply need to give other users permissions to that folder.

Related

Is there a way to make a SSRS report password protected?

I have a report set up for a department. The data is accessed on a replicated server on the backend with a fixed password.
What I normally do is add a new role for the user accessing the report as a browser, then they can see the report and work from there.
However, the machine that is being used to access a new report is logged on under a general user account and neets to remain this way, the report that is being accessed is confidential and can only be accessed by certain staff members.
I have played around with the security settings to see if windows authentication would work but i struggled.
What I was hopping to achieve was the following:
let a user access the report on the machine via a password to run the report (preferably their user log on detais even though the machine will be logged on under a different user).
If this is not possible, would it be possible to create a password protected report using parameters?
apologies If i am not clear, I am happy to explain further if needed.
As far as I know it is only possible to protect a report using AD credentials. This works fine, but is not useable if there are non-AD users who have to access the report.
What you can do is generate an SSRS report as a password protected PDF using SQL-RD and send it on a schedule.
You could try setting the access to the report itself at the report level. In Reporting Services you navigate to the report and click the down arrow to the right of the report name.
On the next screen you make sure the Security tab is highlighted. You can then add groups or users (Domain\User) and their roles for that report. Even though this is not password protecting the report it is limiting access to only authorized individuals.
I have come up with a work around.
I have added the users I wanted to have access to the Security tab.
Using powershell I have created a script to ask for credentials to open "internet explorer" as the user I want to have access.
Start-Process -FilePath "C:\Program Files\internet explorer\iexplore.exe" http://PATHTOMYREPORT -Credential (Get-Credential)
From here I then created a batch file that would execute this powershell script for me
#ECHO OFF
PowerShell.exe -NoProfile -ExecutionPolicy Bypass -Command "& 'C:\powershellscript.ps1'"
I then created a shortcut to the batch file on the desktop, in the shortcut options I set it to run as minimized so the batch file output wouldnt appear, i renamed the shorcut after my report. Gave it an inconspicuos icon.
So what happens when someone double clicks the icon?
they get asked for their organisation log on details in a neat window.
when they enter their details the report should open successfully in internet explorer provided they have been added as a report browser to the security element of the report as outlined by #B.Serbele.
If a non intended user opens it, enters their details, it just crashes out.
No doubt you may find issues with this, i.e. someone can access the C drive and delete the powershell script or shortcut etc etc.
But its the best I could do with the set up we have at the moment.
Hope it may help someone.

how to duplicate a file field entry from drupal commerce to another field so it can be previewed

Im looking for a way to copy a file being uploaded to drupal commerce using commerce file/license to another file field in drupal 7. I want to preview audio files being sold on drupal commerce but because of the private file structure that is forced by commerce license, I have to duplicate the file to another field that is public.
Is there a way to copy a file being uploaded to a public directory and also add a database entry for an additional field associated to the content type?
Basically you have to create a "public mirror" of the file you uploaded.
Not digging to much in code, since commerce_product is an entity we assume we can alter the product whenever it is saved, so you can to as follow:
create a module and use hook_entity_insert and/or hook_entity_update
find the file you need, make a public copy
fill the value of the public file in another field of the same entity

Salesforce Metadata API Deployment Not pushing System Permissions

How do you get the System Permissions to be pulled?
I am working on building a Metadata deployment for our company, and part of the deployment includes creating several new profiles. We are trying to capture all of the permissions for these profiles, but can't seem to get the system permissions to match in our test runs.
I know that when you retrieve the profile object, what you get is dynamic, based on what other object you are retrieving. (see Chap 4 bullet 2)
The Following System Permissions are different between our source and destination environment
Customize Application
Manage Connections
Manage Custom Report Types
Manage Dashboards
Manage Public Documents
Manage Public List Views
Manage Public Reports
Manage Public Templates
Manage Translation
Manage Users
Modify All Data
Reset User Passwords and Unlock Users
+ Send Email
Transfer Record
View All Data
note: + indicates added in the destination. All others are lost.
In order to use the Metadata API - the user must have the "API Enabled" and the "Modify All Data" permissions.

Restricting uploads in the DotNetNuke Text Editor using the "add link"

I am building a DotNetNuke 5.6 Module. The module contains a form with some textboxes and the dotNetNuke Rich text Editor.
Users are supposed to fill this form and it is saved to the database.
Everything is working just fine.
The problem though is that users can use it to upload images or documents to the server if they select to add a link.
The problem here is : Users will upload documents to the portal root which will make them visible to other users. We do not want this to happen as each user's documents are private and should not be visible by other users.
The question is:
Can I restrict users to upload documents to a specific folder visible only to that user? this is to prevent different users from seeing each other's private documents?
OR
Can I restrict users from uploading documents altogether?
Thanks
Folder security settings are found in the Admin - File manager. Write permissions control upload:
Allowable File Extensions are in the Host Settings - Other Settings. This is a global security feature, and does not include common media file extensions by default:
In addition, different HtmlEditorProviders do have folder and upload settings in their configuration. HtmlEditorProviders are configured with provider-specific web.config properties and configuration files that are found under /Providers/HtmlEditorProviders.
Telerik provider has ImageManager.ViewPaths, ImageManager.UploadPaths and ImageManager.DeletePaths properties, and also maximum upload sizes for different file extension groups (image, media, document, flash, silverlight, template ). Cute Editor has some support for role-based default upload directories, but I couldn't find these in the Telerik provider.
See also:
How to Upload Restricted File Types in DotNetNuke

Attached files rights for Drupal

on my website i have two types of files that end users can download - one of them are available for all visitors, and second is only for registered users (users that are logged in).
setting of drupal allows to set only if files are available for all users or only for users that are logged in.
how can i achieve that some files are public and some not?
thank you in advance!
Assumption: you're using Drupal 6.
If you're using the upload module to attach files to your nodes: consider using http://drupal.org/project/private_upload
If you don't mind creating manual links to the files in your Node bodies (and uploading the files yourself to the private folder) consider http://drupal.org/project/private_download
If you're using filefields consider using http://drupal.org/project/filefield_private
Some up these modules have hardly an uptake (click on the usage statistics link on each of the above links I've shared with you).
Unfortunately mixing private and public downloads is a known area of weakness for Drupal 6. Drupal 7 has fixed this.

Resources