Force.com Sites Guest User Profile Permissions

I’m working on an event registration application for the Sites Developer Challenge, and it involves a validation that the registrant’s email exists in a Contact record. Remembering that Steve Andersen had run into some obstacles with Contact.Email visibility, I decided to check the guest profile for Contact Field Level Security. Here’s what I found:

Guest profile Contact Field Level Security

Guest profile Contact Field Level Security

If you squint a bit, you can see that the Opt-Out and Email fields are hidden to the guest user. I have no idea why these, in particular, are hidden. Likewise, I couldn’t find a pattern in which fields were shown on the custom objects I had created, nor which were visible on standard objects.

In any event, I don’t have any pearls of wisdom on this topic; this is more of an informative note to all that are using Sites (especially if you plan to do any communication-subscriptions) to check out the Field-Level Security.

For those wondering how to get to this Profile (since it is not visible in the usual Profile section), go to the Sites page > Site Name or URL > Public Access Settings (a button).

Technorati Tags: , ,

Inline Visualforce Page Layouts!

This is huge news!

We’re all used to using inline S-Controls, dragging and dropping them into page layouts. And the entire Salesforce community has been spending tons of time recreating page layouts in Visualforce, just to edit one small piece of a page.

As an example, how would you implement the example at developer.force.com: Visualforce Dynamic Edit Page? You would do it the way it was explained in the blog post!

Well the rules of the game have changed.

As long as you use a Standard Controller, you can now place Visualforce pages IN regular page layouts!

Inline Visualforce Page Layout screenshot

Inline Visualforce Page Layout screenshot

The article was written by Sati Hillyear, who is also an expert on the License Manager Application. Check it out!

Technorati Tags: , , ,

Winter 09 Full Training Orgs

Sure, prerelease orgs are nice, but something’s always lacking. We have to go in and enable all the cool features, which is nice in that we learn them better, but it’s also nice to get to play in a full-featured org. Salesforce CRM (the new name) has had Exercises to teach us what to do, and I’m sure they will again this time…

Meanwhile, I stumbled upon an even better treat: Winter 09 TRAINING orgs. Yes, orgs with tons of data and all the add-ons you could ever want:
Salesforce Content
Customer Portal
Partner Portal
Advanced Currency Management
Custom Fiscal Year
Translation Workbench (and international Apex features)
Outlook Connect 3.2.501 (new version)
Cool orange highlighting of fields I’m editing in the setup area
Recruiting App
QuotePDF App
Bug Tracking
Time Card (??)
A/R Invoice
…AND all the new stuff from Winter09

Where is this? I’ll tell you:
Standard Prerelease org: https://prerelwww.pre.salesforce.com/form/trial/prerelease_winter09.jsp
Premium Training org: https://prerelwww.pre.salesforce.com/form/trial/training_winter09.jsp

Technorati Tags:

Winter 09 (156) - New And Updated Documentation

More Winter 09 documentation has been released. Scott Hemmeter wrote a post listing some of the pages containing new content, but I wanted to go a bit in-depth on those and some other parts of developer.force.com.

Documentation
This should be your first stop whenever you have any questions about ANYTHING on the Platform. It has sections on Web Services API (formerly just called API, to distinguish it from Metadata API), Metadata API, Apex, Visualforce, AJAX, Office Toolkit, Force.com Migration Tool, IDE, and the Library.

Core Resources
In addition to a super Documentation page, force.com has a new section which contains, well, resources sectioned by the Platform’s service categories: Logic (Apex), User Interface (Visualforce), Database (Objects, formulas, triggers, etc.), Integration (API, REST), Services –What? We now have Services as a Service?–(Workflow), Packaging and Distribution (AppExchange), Development (Metadata), and Tools (IDE, Force.com Builder, Data Loader).

Now that we’ve seen my two favorite pages, let’s look at the content on the Documentation page:

  • Web Services API - No longer in Prerelease, the 14.0 documentation is finalized for 156. Version 13.0 is still online.
  • Metadata API - Also no longer in Prerelease, version 14.0 is available. Don’t worry; version 13.0 is still available!
  • Visualforce - Also no longer in Prerelease. View Online or PDF.
    • Question: Why “release” the prerelease version when it has things we can’t use in Summer 08 orgs? Seems premature.
  • Apex - Same story: Version 14.0 is ready, but I can’t find 13.0 online. I guess it doesn’t matter much, except to those of us coding in 154 orgs who might use 156 features.
  • AJAX - This one is available in 14.0 and 13.0 flavors.

Note: For those of you wondering about all the 13.0/14.0 and 154/156 references, here’s a guide:
With each release, Salesforce CRM (the new name for the application) increments two numbers.
Releases are generally three times a year, and increment the release number by TWO. Yes, we have only even numbers. So Winter 09 is 156, Winter 08 was 150, Summer 06 was 142, etc. Releases are in Winter, Spring, and Summer of each year, named according to the season in San Francisco, the site of salesforce.com’s corporate headquarters. Counting backwards, some say that the original release was 62. I have no idea why that number was chosen. Of note, salesforce.com refers to its org as 62; maybe that has something to do with it. My bet is that salesforce.com has Unlimited Edition, by the way. Just a hunch.
API versions are incremented by 1 each release. There have been some smaller releases, which is why you might find references to #.1 here and there. As you can see, Summer 08 was version 13, and Winter 09 is version 14.
This is my question: Why do we call the release Winter 09 when it is clearly coming out in 2008? I don’t have an answer to that; does anyone?
Winter 09 Main Page
This is my starting point for all things 156, though I wish the links worked. For more information on specific features, download the PDF files in the sidebar of this page.

Technorati Tags: , ,

Google Releases Data APIs Java Client Eclipse Plug-in

Google just released its Google Data APIs Java Client Eclipse Plug-in, which seems to have great possibilities for developing in Google. Combined with the Force.com Toolkit for Google Data APIs, it could go even further.

We’d like to see triggered, bidirectional updates between SFDC Calendar and GCal, and between SFDC Contacts and GContacts. Perhaps this will make it a reality, removing the need to use a third-party hybrid application to keep data synchronized.

On a related note, thank you to Salesforcewatch.com’s Mark Mangano for his mention of my scoop when tweeting about the Force.com Toolkit for Data APIs the day before it was made official.

Technorati Tags: , , , , , ,

Salesforce Mobile for iPhone is Ready!

Jon Mountjoy has posted a report that the AppStore for iPhone 2.0 software is available. Makes our mouths water even more for that iPhone 3G. More info: http://blog.sforce.com/sforce/2008/07/salesforce-mobi.html.

Technorati Tags: ,

The Original Post

After doing some research, I found the first post to show how to include custom fields on standard objects using Eclipse and the Force.com IDE. It turns out that JonP was the original poster, as noted by many others, but he first wrote about it on February 22.

Thanks, JonP!

Technorati Tags: ,

AppExchange Makeover

Looks like Salesforce has changed its user-interface again. Remember the Apps menu with the AppExchange link that opened the AppExchange in a new tab? That’s been changed.

OLD:

Salesforce Old AppExchange Logo

AppExchange Logo and Apps menu with “Add Apps…” at the bottom of the menu

NEW:

Salesforce New AppExchange Image

force.com Apps Logo and Apps menu with

  • a space
  • Add AppExchange Apps
  • Create New Apps

The last item, Create New Apps, takes you to developer.force.com.

Salesforce is clearly pushing the Platform, encouraging people to create their own apps. Looks like I’m going to spend the next few days going through every tutorial I can find, starting with how to code in Java. I’m heading to Sydney, Australia on Friday, so I’ll have plenty of reading to do on the plane. Problem is this: 4 hours of batteries on a 12 hour flight doesn’t really help much, does it? Oh well.

Technorati Tags: ,