Month: April 2015

Adding JavaScript and jQuery to Visualforce pages


Force 201

Visualforce is pretty tolerant of how custom JavaScript is added, but this post suggests a couple of patterns to use (where possible):

  • External JavaScript file references or local JavaScript is best placed at the end of the page rather than the beginning which looks a bit strange at first sight. The benefit is that the page content can then be rendered by the browser before the browser becomes blocked loading the external JavaScript file and then executing that file and the local Javascript. So a potential page load delay is avoided, with the JavaScript work being completed in the user’s “thinking time” as they first see the page content.
  • It is easy to unintentionally add references to Javascript’s global scope and so potentially interfere with other references in that scope. In JavaScript scope is delineated by functions (not by blocks – curly brackets have no impact on scope) so var

View original post 94 more words

Advertisements

How to implement Push Notifications in iOS (From the scratch)


faizmasroor

Make App id:

1.Go to apple developer and make app id. I have made app id by name “MyApp”

Screen Shot 2015-04-23 at 8.38.43 pm

2. Set bundle id .

Screen Shot 2015-04-23 at 8.40.00 pm

3. Don’t forget to tick mark push notification in that section .After this click submit

Screen Shot 2015-04-23 at 8.40.23 pm

App id is created .



Configure your app id for push notification :

You need to configure your app id for push notification .For this follow steps below:

1. Click on your app id that you just created .In my case its “myApp”, and click EDIT. on the bottom you will see configuration for push notification like this :

Screen Shot 2015-04-23 at 9.38.14 pm

2. Now there are two options here :

  1. Development  SSL certificate (Used for debugging & testing purposes )
  2. Production SSL certificate. (Used for deploying to multiple devices + to app store)

3.We are here using Production certificate as i only have to just check my app before submitting to appstore .

4.Create certificate by…

View original post 696 more words

Xcode debugging cannot see the value of the local variable


Code Monkey needs Money

Resolution:

1.in Scheme Setting: set run to debug

QQ20140401-2

2.in build settings, set optim to O0

QQ20140401-3

3.build settings, Custom Compiler Flags change O2 to g.

QQ20140401-1

View original post

3 Ways to Use Agile Project Management to Boost Salesforce Adoption


longshore consulting

I hate buzzwords. While in business school, I developed a fondness for buzzword bingo. So when I first heard about ‘agile’ and ‘lean’ processes and software development, I was wary. But as I learned more, and saw how it could dramatically improve results and user adoption with Salesforce at the nonprofits I worked with, I was hooked. Here are three ways you can use parts of the agile process method to improve your work with Salesforce:

1. Gather and prioritize user stories. I use the ‘as an X I need Y so I can Z’ template (the important thing is not to focus on the how). Then I prioritize these and make the list of user stories and the order they will be worked on public.

Here’s some great ideas on how to write user stories:

2. Deliver a series of ‘small gifts’ instead of one big release to…

View original post 215 more words

SalesForce (Login) Integration With ASP.NET


Rahul's space

Steps…

  1. Add Service Reference, select Advanced and then select Add Web Reference.
  2. In the URL box of the Add Web Reference dialog box, type the URL to obtain the service description of the XML Web service you want to access, such as:

    c:Filesenterprise.wsdl

  3. Click Go to retrieve information about the XML Web service.
  4. In the Web reference name box, rename the Web reference to sforce, which is the name you will use for this Web reference.
  5. Click Add Reference to add a Web reference for the target XML Web service.
  6. Visual Studio retrieves the service description and generates a proxy class to interface between your application and the XML Web service.

Issues :

error CS0030: Cannot convert type ‘SFDC.ListViewRecordColumn[]’ to ‘SFDC.ListViewRecordColumn’
error CS0030: Cannot convert type ‘SFDC.ListViewRecordColumn[]’ to ‘SFDC.ListViewRecordColumn’
error CS0029: Cannot implicitly convert type ‘SFDC.ListViewRecordColumn’ to ‘SFDC.ListViewRecordColumn[]’
error CS0029: Cannot implicitly convert type ‘SFDC.ListViewRecordColumn’ to ‘SFDC.ListViewRecordColumn[]’

Solution:

View original post 22 more words

Connecting Salesforce and SharePoint Online with Azure App Services


Kloud Blog

Back in November I wrote a post that demonstrated how we can integrate Salesforce and SharePoint Online using the MuleSoft platform and the MuleSoft .NET Connector. In this post I hope to achieve the same thing using the recently released into preview Azure App Services offering.

Azure App Services

Azure App Services rebrands a number of familiar service types (Azure Websites, Mobile Services, and BizTalk Services) as well as adding a few new ones to the platform.

azure_app_services

  • Web Apps – Essentially a rebranding of Azure websites.
  • Mobile Apps – Built on the existing Azure Mobile Services with some additional features such as better deployment and scalability options
  • Logic Apps – A new service to the platform that allows you to visually compose process flows using a suite of API Apps from both the Marketplace and custom built.
  • API Apps – A special type of Web App that allows you to…

View original post 1,844 more words