Make sure to use your username, password and security token in line 12 and 13.Īlso if you are accessing a Salesforce sandbox base part of the URL changes to This is basically sending a login SOAP request. You need make a HTTP call using below format. Getting access token with username, password and security token It will return an session Id that you can use against Salesforce SOAP and REST APIs as access token. There is an easy way to bypass OAuth and directly use username+password combination to authenticate against Salesforce SOAP and REST APIs. Please check the article Using curl to authenticate to Salesforce REST API to see an example. Usually the recommended way is to authenticate to REST API is by using OAuth and creating a connected app in Salesforce. There are multiple ways to authenticate to Salesforce SOAP and REST APIs. You can leave other fields with default values. Then in order to display QR code, I am selecting "QR Code" from "Barcode type" picklist/dropdown field. Specify Demo_Record_c as object name and Unique_Field_c as field name. I am giving it a name DemoUniqueFieldConfig. Give it a name without spaces or special characters. Go to "Barcode Configs" tab that comes with the app and create a new record. Same approach will work for any other field in any custom/standard object in Salesforce.ġ) Create a barcode config record for the custom object and field combination This object has a custom field with API name Unique_Field_c. Here for demo purpose I have created a custom object Here we will go through an example of displaying QR code using data from a custom field. If not please go to Barcode and QR Code Generator and install.Įxample - Displaying QR code using custom field in custom object In below step by step guide, we are assuming that you have installed the app already. This app allows you to generate barcode in Salesforce without depending on any external services. It's not always the fault of an app.Here we cover an easy way to display QR code in Salesforce classic using a free appexchange app Barcode and QR Code Generator. Sometimes it may be your company firewall. If you happen to run into any of the errors above in GitKraken, before you make any changes, check your connectivity first. In the world of IT, there are many layers at work (think OSI Model) to ensure connectivity. After that, we could ping successfully and everything we asked GitKraken to do worked as expected. It turned out that their ISP had issues with their DNS servers and forced a reconnect on their router once those DNS servers were fixed. After a few minutes they returned to the call. Changing DNS servers should have that kind of impact. Once they did that, they vanished off the virtual call, and I felt a moment of concern. We tried to fix that by changing their DNS Servers to OpenDNS. Same problem.Ĭonsidering we were having a virtual meeting that seemed odd as they were connected to the internet, but it seemed like their DNS servers were having issues. I then had them test to see if they could ping. For some reason their system could not resolve the hostname. I then had them see if they could ping from their dev environment. Everything on their status page reported as normal, and again everyone else on the team could push/pull/create/clone/etc. Obviously the first thing was to look at the status page for GitHub as there have been times when GitHub has various systems attacked. Considering this was the second time for this particular client, I figured I needed to look deeper. Usually when running into an error when working with an application, the tendency is to land the error squarely on the shoulders of the app failing in some way. This time however, I decided to dig a bit deeper. Again, I reached out to some fellow GK Ambassadors to discuss the issue. I had a hard time believing that this instance had corrupted as well, even though it was the same client's team member. Then, two weeks ago, we ran into the same issue. Nothing had changed on their system during this time except for us making changes to the code in the project they were working on.Īfter some deliberation with other amazing GitKraken Ambassadors, we figured out that the GK install was probably corrupt, so we fully deleted and reinstalled it on that team member's system. The repos were there, could be accessed by others on the team, but this one individual. We checked to make sure GitHub wasn't running into one of their occasional issues. There are a lot of different articles out there suggesting fixes for this specific issue including checking the firewall or using https instead of ssh, but everything had been fine until just that moment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |