• gliffydev
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

I've created a hierarchical Custom Setting.  I'm looking to modify a field at the org level.

 

Given that my custom setting is called Test_config__c, and the field I want to update is Sample_field__c, here is some sample code:

 

 

Test_config__c aConfig = Test_config__c.getOrgDefaults();

aConfig.Sample_field__c = 'Some new value';

 

 

When I manage the custom value, the assignment hasn't been persisted.

 

 

I've created a hierarchical Custom Setting.  I'm looking to modify a field at the org level.

 

Given that my custom setting is called Test_config__c, and the field I want to update is Sample_field__c, here is some sample code:

 

 

Test_config__c aConfig = Test_config__c.getOrgDefaults();

aConfig.Sample_field__c = 'Some new value';

 

 

When I manage the custom value, the assignment hasn't been persisted.

 

 

Hi,

 

Is there a library or implementation of OAuth protocol using Apex?

 

I'm writing OAuth Consumer using Apex and Visualforce pages but faced several issues:

 

  * HTTP Redirect function, message-passing using HTTP header etc.

  * Session management (Cookie, Session ID, Session Object etc.)

  * Nonce generation

 

I appreciate your help.

 

Thanks.

 

  • September 04, 2009
  • Like
  • 0