This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var jsforce = require('jsforce'); | |
var fs = require('fs'); | |
var conn = new jsforce.Connection({ | |
// use loginUrl : 'https://login.salesforce.com' for production | |
loginUrl : 'https://test.salesforce.com' | |
}); | |
conn.login('yourusername', 'yourpassword+securitytoken', function(err, userInfo) { | |
if (err) { return console.error(err); } | |
// Now you can get the access token and instance URL information. | |
// Save them to establish connection next time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-sobject-collection/force-sobject-collection.html"> | |
<link rel="import" href="../paper-checkbox/paper-checkbox.html"> | |
<link rel="import" href="../../salesforce/s1-elements/s1HeaderPrimaryModal.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1AppScaffold.html"> | |
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1PageContainer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-ui-app/force-ui-app.html"> | |
<link rel="import" href="../../salesforce/s1-elements/s1SearchWidgetWithsortfilter.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:application implements="ltng:allowGuestAccess" extends="force:slds" useAppCache="true" > | |
Welcome to this application | |
</aura:application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import FeatureContentBlock from '$lib/components/FeatureContentBlock/FeatureContentBlock.svelte'; | |
export default { | |
component: FeatureContentBlock, | |
name: 'FeatureContentBlock', | |
inputs: [ | |
{ | |
name: 'analytics_identifier', | |
type: 'string' | |
}, |