• Darshan Yadav
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies
I have foloowing information with me
  1. UserID
  2. FileId
  3. OAuthusing user who has Modify ALl data Permissions (Admin)
I want to figure out if user(UserId) has permissions on a file(fileId) and what kind of permissions user has. 

I want to use rest APIs.

Any help will be appritiated. 

Thanks 
I am trying to achieve the followin example

https://salesforce.stackexchange.com/questions/308326/applying-irm-policies-for-salesforce-reports-before-exporting-using-apex

But when my IRM server try to download file using sObject APIs it again goes to downloadHandler of Apex and download is blocked. 

Is there a way to figureout the application which is calling download APIs so that i can bypass that from CustomDownloadHandler. 

Or do i need to implement my APIs such that it downloads files from a spacial user and i bypass download for that user. 

Thanks
Hi,

I am new to SalesForce. I am trying to create an app. But when i go to packages and try to create package it says that i am not allowed to create package. 

On clicking devloper settings it given foloowing error

This org is a Developer Hub. You can only create managed packages in a Developer Edition org that isn't your Dev Hub.

I am not sure how can i create a Developer Edition org
I have foloowing information with me
  1. UserID
  2. FileId
  3. OAuthusing user who has Modify ALl data Permissions (Admin)
I want to figure out if user(UserId) has permissions on a file(fileId) and what kind of permissions user has. 

I want to use rest APIs.

Any help will be appritiated. 

Thanks 
I'm working on a multi-tenant connected app and running into trouble with deployment/publishing. The app performs OAuth via the Web Server Flow described in documentation (https://help.salesforce.com/apex/HTViewHelpDoc?id=remoteaccess_oauth_web_server_flow.htm&language=en_US). I used the https://login.salesforce.com authorize endpoint, which worked just fine with localhost Callback URLs (even worked multi-tenant). However, it no longer works with the web app deployed to a production web server. I get the following error:

error=invalid_client_id&error_description=client%20identifier%20invalid

Based on some additional investigation, I saw guidance on using an instance-specific authorize endpoint (ex: https://na34.salesforce.com). I tried this and it WORKS, but only for the host tenant and clearly isn't multi-tenant (my other tenant is on instance na24). What do I need to do to have my connected app work across any salesforce organization? Documentation is lacking...I only found one small mention of packaging connected apps HERE (https://help.salesforce.com/apex/HTViewHelpDoc?id=connected_app_edit.htm&language=en_US)