• Test Dev 81
  • NEWBIE
  • 5 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 2
    Likes Given
  • 19
    Questions
  • 12
    Replies
Hi there , 
I have build integration in apex to get invoices by InvoiceId and  I am able to get Invoices from Demo Company org in Xero but when I pass InvocieId from my custom Company Org which is "RT Company" I get a successful response, but Invoices []  it returns an empty list
I guess API is not able to find that Id in Xero, but when I search that invoice manually I can see that invoice in RT Company
Is there any permission issue? when I generate the access token I select both organizations during the login
Thanks
Rahul
Hi Guys,
I am Integrating Xero with salesforce in my dev org
here's the validation code for the webhook
@RestResource(urlMapping='/XeroApi/*')
Global class RT_XeroApiClass {
    global static String jsonResults;
    @HttpPost
    global static Integer validatexero () {
        String xeroSignature = RestContext.request.headers.get('x-xero-signature');
        String xeroPayload = RestContext.request.requestBody.toString();
        Blob signedPayload = Crypto.generateMac('hmacSHA256', Blob.valueOf(xeroPayload), Blob.valueOf(System.Label.Webhook_Payload));
        String encodedPayload = EncodingUtil.base64Encode(signedPayload);
        RestContext.response.statusCode = encodedPayload == xeroSignature ? 200 : 401;
        
        return RestContext.response.statusCode;
    }
}
The Delivery URL in the webhook is
https://appl-dev-ed.my.salesforce.com/services/apexrest/XeroApi
when I am sending Intent to receive the status always shows "Intent to receive" required
User-added image
can you please tell me what I am missing here?
Thanks,
Rahul
Hi there,
I want to access my REST class using restresh_token
I have accessed refresh token using this URL 
https://<YOUR_INSTANCE>.salesforce.com/services/oauth2/authorize?response_type=code&client_id=<CONSUMER_KEY>&redirect_uri=https://login.salesforce.com/

curl -X POST https://<YOUR_INSTANCE>.salesforce.com/services/oauth2/token?code=<CODE>&grant_type=authorization_code&client_id=<CONSUMER_KEY>&client_secret=<CONSUMER_SECRET>&redirect_uri=https://login.salesforce.com/

Can I use this refresh token every time to generate my access_token
How long this refresh token will work?
Hi Everyone,
I am getting trouble getting values from JS object in my VF page
 
function airMapInit(geocode_1,geoCode_2) {
                console.log('Geocode_1'+JSON.stringify(geocode_1));
                console.log('Geocode_1'+geocode_1.lat);
}

/////////////////////////////////////////////////////////
LOGs...
Geocode_1{"lat":28.6139391,"lng":77.2090212}
Geocode_1function(){return d}

I want to extract values lat and lng from these variables 
when i do geocode_1.lat i am getting function(){return d} in debug console
 
Hi Everyone,
I am showing the path from source A to Destination B in Vf page using JS
directionsService.route({
                    origin: start,
                    destination: end,
                    optimizeWaypoints: true,
                    travelMode:'DRIVING'
                }, fun

travel mode: DRIVING
I want to show the path by another travel mode if there is no path using DRIVING returned
I am not that good in JS or Jquery
can you please suggest to me how to do this, here I am sharing my VF page code
<apex:page standardController="sustain_app__EnergyConsumption__c" extensions="Rg_DistanceCalculator">
    
    <html>
        <head>
            <style>
                #map-layer {
                max-width: 1500px;
                min-height: 550px;
                }
                .lbl-locations {
                font-weight: bold;
                margin-bottom: 15px;
                }
                .locations-option {
                display:inline-block;
                margin-right: 15px;
                }
                .btn-draw {
                background: green;
                color: #ffffff;
                }
            </style>
            <script src="https://code.jquery.com/jquery-3.2.1.js"></script>
            </head>
            <body>
                <div id="map-layer"></div>s
                <script>
                    
                    var map;
            var waypoints;
            function initMap() {
                console.log('Init Method..! ');
                var mapLayer = document.getElementById("map-layer"); 
                var centerCoordinates = new google.maps.LatLng(39.888250,-83.088370);
                var defaultOptions = { center: centerCoordinates, zoom: 8,scrollwheel: true, }
                map = new google.maps.Map(mapLayer, defaultOptions);
                
                
                var directionsService = new google.maps.DirectionsService;
                var directionsDisplay = new google.maps.DirectionsRenderer;
                directionsDisplay.setMap(map);
                var addressArray = {!listOfAddresses};  // Use this format to fill addressArray 
                var start =addressArray[0];
                var end = addressArray[1];
                
                console.log('Start : ',start);
                console.log('end : ',end);
                //map.fitBounds({!listOfAddresses});

                setTimeout(function(){ 
                    drawPath(directionsService, directionsDisplay,start,end);
                    
                }, 2000);
                
            }
            function drawPath(directionsService, directionsDisplay,start,end) {
                console.log('Drawing Path !!!!!');
                console.log(start+' '+end);
                directionsService.route({
                    origin: start,
                    destination: end,
                    optimizeWaypoints: true,
                    travelMode:'DRIVING'
                }, function(response, status) {
                    if (status === 'OK') {
                        directionsDisplay.setDirections(response);
                    } else {
                        console.log('Problem in showing direction due to ' + status);
                    }
                });
            }
            </script>
            <script  src="https://maps.googleapis.com/maps/api/js?key=AUTH_KEY&callback=initMap">
            </script>
        </body>
    </html>
</apex:page>

and also can I use the bind variable in the script tag to add auth key from the apex variable
Thank you
Rahul
hi Everyone,
I have created a visualfroce and added on the Opportunity page layout
but I want to hide this visualforce page if the user on the lightning opportunity  page 
means show VF page if the user in classic only
bellow my vf code I added rendered tab but still i can  see this page in lightning 
 <apex:page showHeader="false" standardController="Opportunity" extensions="Rg_TestMemberAccountCreate" sidebar="false" docType="html-5.0" rendered="{! $User.UIThemeDisplayed != 'Theme4d' }">
    <html>
        <head>
            <style>
            </style>
            <apex:slds />
        </head>
        <body>
            <apex:form >
                <div class="slds-align_absolute-center" >
                    <div class="slds-grid">
                        <div class="slds-col slds-p-around_small" >
                            <apex:commandButton value="Enable Test" styleClass="slds-button_neutral slds-text-font_monospace" style="height:1.5rem" disabled="{!showTest}" action="{!callTest}"/>
                            <apex:commandButton value="Enable Production" styleClass="slds-button_neutral slds-text-font_monospace" style="height:1.5rem" disabled="{!showProd}" action="{!callProd}"/>
                            <div id="apiError" style="color: red;" rendered ="{!showProd}">{!apiError}</div>
                        </div>
                    </div>
                </div>
            </apex:form>
        </body>
    </html>
</apex:page>
 
Hi Everyone, 
I am trying to upload a text file to Docufree for too long but I am not able to, getting so many issues
here's the REST API link: I am taking an example from
http://https://saas.docufree.com/dfwebservice/docs/guide/upload.html#payload-format
 
public static HTTPResponse uploadFile(Attachment file) {
        Rg_FileJSon jsonObj = new Rg_FileJSon();
        List<Rg_FileJSon.Files> Files = new List<Rg_FileJSon.Files>();
        Rg_FileJSon.Files jsonFile = new Rg_FileJSon.Files();
        jsonFile.name = file.Name;
        jsonFile.doctype = file.ContentType;
        jsonFile.data = String.valueOf(file.Body);
        Rg_FileJSon.Index ind = new Rg_FileJSon.Index();
        ind.name = 'index a';
        ind.typeId = 0;
        ind.value = '1';
        jsonFile.Index = new List<Rg_FileJSon.Index>{ind};
        Files.add(jsonFile);
        jsonObj.files = Files;
        HttpRequest req = new HttpRequest();
        req.setHeader('Content-Type','application/json');
        req.setMethod('POST');
        req.setEndpoint('https://saas.docufree.com/dfwebservice/v3/files/capture/folder?targetId=3486');
        req.setBody(body);
        req.setTimeout(60000);
        Rg_FileUploadService obj = new Rg_FileUploadService();
        string accessToken = obj.genAccessToken();
        req.setHeader('Authorization','Bearer ' + accessToken);
        System.debug('request : '+req.getBody());
        Http http = new Http();
        return http.send(req);
    }
 
//JSON Class
public class Rg_FileJSon {
    public class Index {
        public Integer typeId;
        public String name;
        public String value;
    }
    public class Files {
        public String name;
        public String data;
        public String doctype;
        public List<Index> index;
    }
    public List<Files> files;
    public Integer bindFileId;
    public static Rg_FileJSon parse(String json) {
        return (Rg_FileJSon) System.JSON.deserialize(json, Rg_FileJSon.class);
    }
}

i Don't know what I am doing wrong here, getting 500 internal server error
Guy please help me to solve this issue
hi everyone,

I want to upload the file using apex but before do that I am testing callout by the postman
but I am getting error while making a POST request
User-added imagedo you have any idea what I am doing wrong here
thanks,
Rahul
hi everyone,
I have created an apex class to make some HTTP callout but when I send the request I am getting error in response
"422 Unprocessable Entity" even though I have put request.setHeader('Content-Type', 'application/json); in request header
 
public class Rg_TestMemberAccountCreate {
    public static void testMemberAccount(String endpoint,String token){
        Http http = new Http();
        HttpRequest request = new HttpRequest();
        request.setEndpoint(endpoint);
        request.setMethod('POST');
        request.setHeader('Content-Type', 'application/json');
        request.setHeader('Authorization', 'Bearer '+token);
        request.setHeader('Accept', 'application/json');
        // Set the body as a JSON object
        String b = '{"data": {"attributes": {"name": "Test Rahul2","symbol": "TESTRT", "is_active": "true"},"type": "providers"}}';
        request.setBody(b);
        System.debug('Requst : '+request);
        HttpResponse response = http.send(request);
        System.debug('response: '+response);
        // Parse the JSON response
        if (response.getStatusCode() != 200) {
            System.debug('The status code returned was not expected: ' + response.getStatusCode() + ' ' + response.getStatus());
        } else {
            System.debug(response.getBody());
        }   
    }
}
do you have any idea what is wrong in my class?
Thank You,
Rahul

 
hi everyone,
I am trying to integrate SharePoint using apex
I generate an access token from the postman and copy the access token and then pass it to my apex method it works but when I generate into apex class and pass to method it is not working
public class Rg_SharepointIntegration {
    public static void getconnection(){
        String clientId = '*****************'; 
        String clientSecret = 's**************';
        String tenantId = 'c*****************72';
        Http h = new Http();
        HttpRequest req = new HttpRequest();
        req.setMethod('POST');
        req.setHeader('Content-Type', 'application/x-www-form-urlencoded');
        //https://login.microsoftonline.com/< tenant Id>/oauth2/token
  req.setEndpoint('https://login.microsoftonline.com/'+EncodingUtil.urlEncode(tenantId, 'UTF-8').replaceAll('\\+', '%20')+'/oauth2/token'); 
        String body = 'grant_type=client_credentials'+
                        '&scope=files.readwrite.all'+
            '&client_id=' + EncodingUtil.urlEncode(clientId, 'UTF-8') +
            '&client_secret='+ EncodingUtil.urlEncode(clientSecret, 'UTF-8') +
            '&resource=https://graph.microsoft.com';                              
        req.setBody(body);
        HttpResponse res = h.send(req);
        
        Map<String,String>connectionMap = new Map<String,String>();
        String accessTockn;
        if(res.getStatusCode() == 200){
            System.debug('Response Body: ' + res.getBody());
            connectionMap =  (Map<String, String>) Json.deserialize(res.getBody(),Map<String, String>.class);
            System.debug('connectionMap '+connectionMap);
            if(connectionMap.containsKey('access_token') && connectionMap.get('access_token') != null){
                accessTockn =connectionMap.get('access_token');
              getChildren(accessTockn);
            }
        }
    }
    public static void getChildren(String access_token){
        //String access_token= 'access_token';
        Http h = new Http();
        HttpRequest req = new HttpRequest();
        req.setMethod('GET');
        req.setHeader('Authorization', 'Bearer '+ access_token);
        req.setHeader('Content-Type', 'application/json');
        req.setHeader('Accept', 'application/json');
       //req.setEndpoint('https://graph.microsoft.com/v1.0/drives/');
       req.setEndpoint('https://graph.microsoft.com/v1.0/me/drive/root/children');
        HttpResponse res = h.send(req);
        System.debug('Response Body: ' + res.getBody());
        //Get your drive id from the response and store it somewhere.
    }    
}

above code returns an error response in getChildren(accesstoken) 
 "message": "Unable to retrieve user's mysite URL.",

but in the  same method getChildren('accesstoken_generated from Postman')  here I pass postman generated access token it works fine
don't know what I am missing in my apex request for an access tokenUser-added imageThanks,
Rahul
Hi Everyone,
I have set up a community site and I have some questions 
1. Is there any way to enable CC users for the Customer Plus profile(custom) (maybe a button)?
2.creating a User with a Customer Community license is not possible? when I click on enable CUstomer user it is not showing Customer Community license
User-added image
3. When I log in as a customer user into the community and go to the case detail page it is not showing Post layout and not able to post ut i am able to comment on the existing post and when I go to the builder and preview the case detail I am able to Post on case why these happening?
can community user Post on the case?

Thank you
Rahul
Hi Everyone,
I have added a contact support form in my community page to create a page and assigned global action to the guest user from the contact support form property
also, change the page layout for global action added more fields in 2 columns but when I visit as a guest user it showing me in a single-column layout
Global actions assigned to guest and internal users

Action layout assigned to guest usersingle column form
guys how can I make this 2 column layout
Thanks,
Rahul
hi everyone,
I have created the site and there are a profile and guest user
i want to share Contract records with this guest user
for this, I have created Sharing rule also gave Account, Contact, Opportunity, and Contract read permission to this site profile 
the sharing rule I have created from sharing setting for  "Guest user access, based on criteria"
User-added imageand Default OWD for account and contract is Public read write
but still, the guest user is not able to access contract records
any idea guys?
Thanks,
Rahul
hi everyone,
I have 2 profile with User License Customer Community Plus Login
there is a custom object with Project and  its child object Issues
OWD for Issues is controlled by Project
I have given read access to the project and read/write/edit for issue object
also created sharing set for the above 2 profile 
User-added image
some of the user cant see the issue records but when I log in from another customer user with the same profile from another account he can see issue records under his account project
do you have any solution 
Thanks, 
Rahul
hi Everyone,
I have created a trigger on the quote to set billing contact
if contact is not available it will create a new contact also I have a duplicate rule enabled on the contact, Alert and Report  checkbox is true for on create and on edit
Contact c = new Contact();
                            c.FirstName = newQuotes[i].Billing_Contact_First_Name__c;
                            c.LastName = newQuotes[i].Billing_Contact_Last_Name__c;
                            c.Email = newQuotes[i].Billing_Contact_Email__c;
                            c.AccountId = oppMap.get(newQuotes[i].SBQQ__Opportunity2__c).AccountId;
                            c.Title = newQuotes[i].Billing_Contact_Title__c;
                            c.Phone = newQuotes[i].Billing_Contact_Phone__c;
                            c.Billing_Contact__c = TRUE;
                            
                            //bypass duplicates
                            Database.DMLOptions dml = new Database.DMLOptions(); 
                            dml.DuplicateRuleHeader.allowSave = true;
                            dml.DuplicateRuleHeader.runAsCurrentUser = true;
                            Database.SaveResult sr = Database.insert(c, dml);
                            if (sr.isSuccess()) {
                                System.debug('Duplicate COntact has been inserted in Salesforce!');
                            }else{
                                System.debug(sr);
                            }
but the bypass is not working else part is still throwing error
[142]|DEBUG|Database.SaveResult[getErrors=(Database.Error[getFields=();getMessage=<!-- DupeBlocker blocked this action - duplicates found. --> <div style="padding:0.7em;font-size:11px;width:40em;margin:0 auto;background-color:#FBF9EE;border-color:#FCEFA1;border-width:1px;border-style:solid;border-radius:4px;">
is there any solution for trigger to bypass duplicate rule
Thanks 
Rahul
hi everyone,
I want to create a regex expression to match two strings
if one of the string is a match then regex will show success string else it will show error string, 
If my input equals to next OR prev it should show Success else Error
here I have created a regex but I am not sure  it is working
(?(?=next|prev) Success|Error)

User-added image
Hi Everyone,
I have cloned the customer community login profile I want to give viewAll case permission to this profile but I can't see viewAll permission in that profile
I am trying to achieve this  by using sharing rule and assign permission to a public group  then my trigger or flow will run whenever a new customer user will insert or update profile  to the customer community  trigger/flow this will add customer user to the public group but my trigger is throwing an error when its add customer community  user to a public group 
guys, can you please suggest me a workaround for this
Thank you,
Rahul
Hi everyone,
I have purchased a salesforce map advance license but when I click on the Territory Planning tab it is showing the error "This feature is not enabled for your user. Please contact your administrator if you feel this is in error."
User-added image
and I also when try to assign the permission set to my user it shows the error "Can't assign permission set SF Maps Territory Planning to user USERName. The user license doesn't allow the permission: Custom Permission Territory Planning is not valid for this Permission Set."
guys do you  have any idea how to enable territory planning for my org
Thanks, 
Rahul
Hi Everyone,
 I have created a google map to show a route between 2 points
and it is working fine
but I want to set the zoom level according to these 2 points so I can see complete route 
do you have any idea how to do this
 
<apex:page standardController="sustain_app__EnergyConsumption__c" extensions="Rg_DistanceCalculator">
    
    <html>
        <head>
            <style>
                #map-layer {
                max-width: 1500px;
                min-height: 550px;
                }
                .lbl-locations {
                font-weight: bold;
                margin-bottom: 15px;
                }
                .locations-option {
                display:inline-block;
                margin-right: 15px;
                }
                .btn-draw {
                background: green;
                color: #ffffff;
                }
            </style>
            <script src="https://code.jquery.com/jquery-3.2.1.js"></script>
            </head>
            <body>
                <div id="map-layer"></div>s
                <script>
                    
                    var map;
            var waypoints;
            function initMap() {
                console.log('Init Method..! ');
                var mapLayer = document.getElementById("map-layer"); 
                var centerCoordinates = new google.maps.LatLng(39.888250,-83.088370);
                var defaultOptions = { center: centerCoordinates, zoom: 8,scrollwheel: true, }
                map = new google.maps.Map(mapLayer, defaultOptions);
                
                var directionsService = new google.maps.DirectionsService;
                var directionsDisplay = new google.maps.DirectionsRenderer;
                directionsDisplay.setMap(map);
                var addressArray = {!listOfAddresses};  // Use this format to fill addressArray 
                var start =addressArray[0];
                var end = addressArray[1];
                
                console.log('Start : ',start);
                console.log('end : ',end);
                setTimeout(function(){ 
                    drawPath(directionsService, directionsDisplay,start,end);
                    
                }, 2000);
                
            }
            function drawPath(directionsService, directionsDisplay,start,end) {
                console.log('Drawing Path !!!!!');
                console.log(start+' '+end);
                directionsService.route({
                    origin: start,
                    destination: end,
                    optimizeWaypoints: true,
                    travelMode:'DRIVING'
                }, function(response, status) {
                    if (status === 'OK') {
                        directionsDisplay.setDirections(response);
                    } else {
                        console.log('Problem in showing direction due to ' + status);
                    }
                });
            }
            </script>
            <script  src="https://maps.googleapis.com/maps/api/js?key=*********************************************callback=initMap">
            </script>
        </body>
    </html>
</apex:page>

Thank You
Rahul​​​​​​​
Hi Everyone,
I am getting trouble getting values from JS object in my VF page
 
function airMapInit(geocode_1,geoCode_2) {
                console.log('Geocode_1'+JSON.stringify(geocode_1));
                console.log('Geocode_1'+geocode_1.lat);
}

/////////////////////////////////////////////////////////
LOGs...
Geocode_1{"lat":28.6139391,"lng":77.2090212}
Geocode_1function(){return d}

I want to extract values lat and lng from these variables 
when i do geocode_1.lat i am getting function(){return d} in debug console
 

public class TestTriggerss {
    
     for(Opportunity cp:[Select (Select Id from OpportunityContactRoles ), (SELECT product2.name from OpportunityLineItems) from Opportunity where id=0065g000006qGQZAA2])
     {
            System.debug(cp.ContactId);
            System.debug(cp.Pricebook2Id);
     }
}
 
Hi,

I got a problem, i need to convert the "Case" Object into a Json and after convert that Json in a Object

I know that i have to use JSON.serialize and JSON.deserialize. but i don't how.
hi everyone,

I want to upload the file using apex but before do that I am testing callout by the postman
but I am getting error while making a POST request
User-added imagedo you have any idea what I am doing wrong here
thanks,
Rahul
hi everyone,
I have created an apex class to make some HTTP callout but when I send the request I am getting error in response
"422 Unprocessable Entity" even though I have put request.setHeader('Content-Type', 'application/json); in request header
 
public class Rg_TestMemberAccountCreate {
    public static void testMemberAccount(String endpoint,String token){
        Http http = new Http();
        HttpRequest request = new HttpRequest();
        request.setEndpoint(endpoint);
        request.setMethod('POST');
        request.setHeader('Content-Type', 'application/json');
        request.setHeader('Authorization', 'Bearer '+token);
        request.setHeader('Accept', 'application/json');
        // Set the body as a JSON object
        String b = '{"data": {"attributes": {"name": "Test Rahul2","symbol": "TESTRT", "is_active": "true"},"type": "providers"}}';
        request.setBody(b);
        System.debug('Requst : '+request);
        HttpResponse response = http.send(request);
        System.debug('response: '+response);
        // Parse the JSON response
        if (response.getStatusCode() != 200) {
            System.debug('The status code returned was not expected: ' + response.getStatusCode() + ' ' + response.getStatus());
        } else {
            System.debug(response.getBody());
        }   
    }
}
do you have any idea what is wrong in my class?
Thank You,
Rahul

 
Hi Everyone,
I have added a contact support form in my community page to create a page and assigned global action to the guest user from the contact support form property
also, change the page layout for global action added more fields in 2 columns but when I visit as a guest user it showing me in a single-column layout
Global actions assigned to guest and internal users

Action layout assigned to guest usersingle column form
guys how can I make this 2 column layout
Thanks,
Rahul
hi everyone,
I have 2 profile with User License Customer Community Plus Login
there is a custom object with Project and  its child object Issues
OWD for Issues is controlled by Project
I have given read access to the project and read/write/edit for issue object
also created sharing set for the above 2 profile 
User-added image
some of the user cant see the issue records but when I log in from another customer user with the same profile from another account he can see issue records under his account project
do you have any solution 
Thanks, 
Rahul
hi Everyone,
I have created a trigger on the quote to set billing contact
if contact is not available it will create a new contact also I have a duplicate rule enabled on the contact, Alert and Report  checkbox is true for on create and on edit
Contact c = new Contact();
                            c.FirstName = newQuotes[i].Billing_Contact_First_Name__c;
                            c.LastName = newQuotes[i].Billing_Contact_Last_Name__c;
                            c.Email = newQuotes[i].Billing_Contact_Email__c;
                            c.AccountId = oppMap.get(newQuotes[i].SBQQ__Opportunity2__c).AccountId;
                            c.Title = newQuotes[i].Billing_Contact_Title__c;
                            c.Phone = newQuotes[i].Billing_Contact_Phone__c;
                            c.Billing_Contact__c = TRUE;
                            
                            //bypass duplicates
                            Database.DMLOptions dml = new Database.DMLOptions(); 
                            dml.DuplicateRuleHeader.allowSave = true;
                            dml.DuplicateRuleHeader.runAsCurrentUser = true;
                            Database.SaveResult sr = Database.insert(c, dml);
                            if (sr.isSuccess()) {
                                System.debug('Duplicate COntact has been inserted in Salesforce!');
                            }else{
                                System.debug(sr);
                            }
but the bypass is not working else part is still throwing error
[142]|DEBUG|Database.SaveResult[getErrors=(Database.Error[getFields=();getMessage=<!-- DupeBlocker blocked this action - duplicates found. --> <div style="padding:0.7em;font-size:11px;width:40em;margin:0 auto;background-color:#FBF9EE;border-color:#FCEFA1;border-width:1px;border-style:solid;border-radius:4px;">
is there any solution for trigger to bypass duplicate rule
Thanks 
Rahul
As we work to implement an externally facing SFDC community, we need to be able to ensure zero opportunity for our internal users to inadvertently post something that will be viewed publicly when they thought it would be private.  The only way I know to do this would be to disable chatter in the external community, thereby eliminating a lot of the potential community value.  We'd like to keep chatter on specific objects, but want to ensure no chance of crossing the streams.  With thousands of employees, objects, and interactions, if it can happen, it will happen.  

So specifically, I want there to be no 'All with Access' option appearing in the internal Chatter widget on an object for internal users. 

Is this possible?
User-added image
Hello everyone,
                            I am doing integration salesforce with box.com when i uplod file that time first i convert blob into base 64 encoded string then send file using rest api after uploading  file my file in  not readable form it meanse file is encoded. And i am sending file in body as a blob and also try in body but i can't sucess. so give me some idea that how i can solve this issue.
   (Thanks in advance).
             
As we work to implement an externally facing SFDC community, we need to be able to ensure zero opportunity for our internal users to inadvertently post something that will be viewed publicly when they thought it would be private.  The only way I know to do this would be to disable chatter in the external community, thereby eliminating a lot of the potential community value.  We'd like to keep chatter on specific objects, but want to ensure no chance of crossing the streams.  With thousands of employees, objects, and interactions, if it can happen, it will happen.  

So specifically, I want there to be no 'All with Access' option appearing in the internal Chatter widget on an object for internal users. 

Is this possible?
User-added image
Hello everyone,
                            I am doing integration salesforce with box.com when i uplod file that time first i convert blob into base 64 encoded string then send file using rest api after uploading  file my file in  not readable form it meanse file is encoded. And i am sending file in body as a blob and also try in body but i can't sucess. so give me some idea that how i can solve this issue.
   (Thanks in advance).