Author: admin

Apex to transfer Image
Nov 13
2019

Salesforce apex to send image file to 3rd party using REST API

//attObj is an Object of Attachment object for which values will be coming from Visualforce page. //Attachment attObj = new attachment(); public pagereference customsave(){ String fileName = attObj.name; Blob file_body = attObj.body; String targetURL = system.label.ImageUploadEndPointURL; //API End point URL String boundary = ‘—————————-741e90d31eff’; // assemble the body payload String header = ‘–‘+boundary+’\nContent-Disposition: form-data; name=”file”; […]

0 Comments
Read Full
Dec 06
2017

Import date/datetime field with correct date/time value using data loader.

Users always face issue in importing date or datetime fields in salesforce. Sometime they face format issue or increase/decrease in date and time after importing the record. Best way to get the valid format is to take export of any existing record containing date time value. Possible formats are: YYYY-MM-DD — For date only YYYY-MM-DD […]

0 Comments
Read Full
Dec 05
2017

Create debug log in salesforce for force.com communities

To Create debug log in salesforce for force.com communities, follow below steps: Open the url in browser. Then, open the browser’s console. document.cookie=”debug_logs=debug_logs;domain=.force.com”; If you are using foce.com domain. If using Custom domain use (copy and paste in devTool console of browser) document.cookie=”debug_logs=debug_logs;domain=yourCustomDomain.com”; Create debug log in salesforce using community user. To identify community user […]

0 Comments
Read Full
Nov 18
2017

Upgrade Angular cli

To upgrade Angular cli run below 3 commands: npm uninstall -g angular-cli npm uninstall -g @angular/cli npm cache clean npm install -g @angular/cli@latest

0 Comments
Read Full
Nov 17
2017

Call SuiteCRM services from Postman

Follow below guideline to call SuiteCRM or SugarCRM services from postman. Enter endpoint url. If there is any customization in service then url would be www.xyz.com/custom/service/v4_1_custom/rest.php else endpoint url would be www.xyz.com/service/v4_1/rest.php. In case of SugarCRM version will be different. Request will be of POST type. Go to Body tab and select option ‘application/x-www-form-urlencoded’. Add […]

0 Comments
Read Full
Nov 14
2017

Salesforce community custom domain to work without www

Scenario: I have salesforce community to run on custom domain e.g. ‘www.xyz.com’. But this should also work without ‘www’ (naked domain) i.e. ‘xyz.com’. Solution: Goto to domain management (considering Godaddy here, but same applies to other providers as well including cpanel tool.). Add domain forwarding on Godaddy (it is at the bottom right of the […]

0 Comments
Read Full
Nov 01
2017

Blog

Welcome to Scideas Solutions Pvt Ltd. This is a blog developed for knowledge sharing on the latest trending technologies.

0 Comments
Read Full