Loading Data into Custom SalesForce Object using Data Loader - salesforce

I created a simple object using Schema Builder with two fields.
I was able to load into the custom object using Data Wizard.
But when I use DataLoader, I don't see the object in the list of the Objects, even when I choose "All SalesForce Objects"

If you logged into the DataLoader prior to creating your object, you'll need to logout and login again, while you're at it, make sure you're logging into the correct instance (sandbox vs production).
If you still do not see the object, check the object in Salesforce and make sure it is "Deployed" and not "In Development".
If you still do not see the object, check the CRUD settings on your profile. You need Create access on the object.
If you still do not see the object, try renaming it. If the object has the same name as another object, it can be difficult to distinguish.

Related

How to build sets of entity records using Breeze and local storage

I'm trying to create an off-line data collection app, using AngularJS.
I think, adding Breeze.js should help with saving and querying data to and from the browser local storage:
1) present the user with angular data entry form
2) when the "save" button is clicked - create a new Breeze entity and store it locally
3) the next time this form is used - create a second entity, and add/save it as a part of the same collection
I was wandering if anyone have tried to do something similar and could give me some pointers of how this is done.
I think it's viable and these links should help you to get started:
http://www.breezejs.com/documentation/querying-locally
You also might want to check this Angular sample aswell:
http://www.breezejs.com/samples/todo-angular
One caveat you have to have in mind is that Breeze will need to load the model's metadata from somewhere. Typically you hit a Web API asynchronously and get the metadata from there. However, on your particular scenario you should give a look at trying to load your metadata from a script file. Here's an how-to and discussion about it:
http://www.breezejs.com/documentation/load-metadata-script

Accessing an Object from other Method

I am trying to access view objects from Java method.
These objects are not viewed in my page. so I cant use getter and setter methods.
Is there a way I can retrieve data from these view objects using SQL queries?
Accessing view objects from the view layer is not a good practice.How ever if the required view object which you need to access is added to application module then you can access that from the model layer
methods(VOImpl and VORowImpl) pertaining to the view object used in the jsf page.
Just access the app module first and then get the required ViewObject and you can perform the required query on that.

Retrieve JSON Object and Store Values in Django

I want to retrieve a JSON object from an external API, read it's values, and store it in my database. The issue I'm having is figuring out where to put the code. Ideally, I would want to do this from the admin interface. It's something that only me as an admin should be able to do . I can code the view for retrieving, reading, and saving the data, but I'm at a loss as to how I'd make this available from the admin interface.
You can write the view as you describe and use something like https://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-views-to-admin-sites to hook it in to the admin structure.
There may be a better way, but when I've done this in the past, I've also then customized the default admin index.html template to link to my custom admin view.

Per installation configuration for SalesForce Application

I want my SalesForce Application to behave differently depending on a value that's set per environment. The value can be one of two values at present and will result in a different page being loaded and a different object instance being updated by the page.
Where would be the best place to store this? A single instance of a custom object? Or is there a dedicated store for this? Ideally the value could be updated using the Api so that a we can updated it without having to get clients to do it.
Sounds to me like you want to use a Custom Setting — these are similar to objects but setup exactly for this kind of thing, and they can even be done in a hierarchy such that different settings are used for different users.
Help for custom settings is here (must be logged in) and reference docs are here.

How do I store some object globally?

I'm new to WPF and used to ASP.NET. I have a WPF app that will require a login screen. Throught the rest of the app I want to be able to access a "Session" object that will contain some credentials information. How do I store that so that any view in my app can access that object?
You can also use lightweight container to store objects globally in loosely coupled way and retrieve these object using Dependency Injection pattern.
One of implementations of lightweight container is Unity Application Block from Microsoft (http://www.codeplex.com/unity) so you can start there and read more here and here.
The Application object has a Properties property that allows you to store and retrieve application wide objects.
It is better explained here:
How to: Get and Set Application-Scope Properties
There are a few ways to do this.
You can create a static class, perhaps you might call it "Session" which holds the data that you are interested in. Session might have a Dictionary that contains the data that you are interested in.
You can hold the data in the main form, and have the main form pass a data container to each view.
There might be better ways to do this that are more compatible with your design goals if you can provide more details about the implementation and use cases.

Resources