• DhilibanThangavel
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 5
    Replies
Hello,

I have an heroku app which is using Salesforce oAuth for authorization. We are using Database.com Light user license. The app is working fine for authorization functionality. But while trying to reset the password, it is sending mail to the user with link. When user click it and reset the password, it is redirecting to salesforce default org and showing insufficient privilege error.
How I can redirect to the my site url after resetting password.
Thanks, Dhiliban
Hello,

I would like to know the difference between formula field and workflow field update.

1. Hope Whatever we are doing in the workflow field update we can do the same in formula field as well. Major point is we can't edit formula field but it can be done in workflow field update.
2. Workflow contains three different criteria to do the field update but this can also be manajable in formula field.

Please help me to understand the major difference between workflow field update and formula field. 

Thanks in Advance
Dhiliban.




 
"Currently when you create an activity note on a contact Salesforce automatically copies that note into the activity records for the Account that owns that contact.

We need to stop this. Either by blocking the creation of the new record or automatically deleting it after it has been created.

Users should still  be able to be create notes on the Account record however."

Hi 

 

In salesforce site page frequently we are receiving "We are down for maintenance" error msg. While this page is showing i am not getting any debug log. Please suggest to resolve this error. and how to check debug log for this type of errors.

 

 

Thanks.

Dhiliban Thangavel

Through salesforce sites i  am creating Database.com light user using Apex.code. The user has created properly but while trying to authorize  through OAuth, its not allowing for first 10 - 15 minutes. After that its allowing to authorize through OAuth. Please suggest any idea so that we can allow the user to authorize through OAuth  immediately after user has created. 

 

 

Thanks.

Dhiliban Thangavel

Hi

 

Insted of Tab panel i am using command link. My Problem is once the user click the commandlink it should highlighted like tab's.  I have tried in CSS and Java Script. Its not working. Here i am rerender the whole page. Please any one help.

 

Thanks in Advance.

 

<div class="header_style">
                        <ul>
                            <li><a href="#">Vendor</a></li>
                            <li >
                                <apex:commandLink value="Hot Deals" action="{!Set_Deals}" >
                                    <apex:param name="deals" value="Hot_Deals"/>
                                </apex:commandLink>
                            </li>
                            <li>
                                <apex:commandLink value="Limited Period Deals" action="{!Set_Deals}" >
                                    <apex:param name="deals" value="Limited_Deals"/>
                                </apex:commandLink>
                            </li>
                            <li>
                                <apex:commandLink value="General Products" action="{!Set_Deals}" >
                                    <apex:param name="deals" value="General_Deals"/>
                                </apex:commandLink>
                            </li>                        
                        </ul>
                    </div>

 

 

 

CSS

 

.header_style ul
    {
        list-style-type:none;
        margin:0;
        padding:0;
        overflow:hidden;
        font-family: 'Arial', sans-serif;
        font-size: 12px;
        background-color:#45b3e0;
        height:28px;        
    }
    .header_style li
    {
        float:left;
        padding-left:30px;
        width:150px;
    }
    .header_style a:link,a:visited
    {
        display:block;                
        color:#FFFFFF;
        background-color:#45b3e0;
        text-align:center;
        padding:5px;
        text-decoration:none;
                
    }
    .header_style a:hover,a:active
    {
        color:#000000;
        background-color:#45a6e0;
        border:1px solid #1e8bb7;
        text-decoration:none;
    }
   

Hi,

 

Please help me to convert string to Byte code using apex.

In java we have Byte data type to convert string to Byte.  

 

 

Thanks Much...!

Hi 

 

In salesforce site page frequently we are receiving "We are down for maintenance" error msg. While this page is showing i am not getting any debug log. Please suggest to resolve this error. and how to check debug log for this type of errors.

 

 

Thanks.

Dhiliban Thangavel

Hi

 

Insted of Tab panel i am using command link. My Problem is once the user click the commandlink it should highlighted like tab's.  I have tried in CSS and Java Script. Its not working. Here i am rerender the whole page. Please any one help.

 

Thanks in Advance.

 

<div class="header_style">
                        <ul>
                            <li><a href="#">Vendor</a></li>
                            <li >
                                <apex:commandLink value="Hot Deals" action="{!Set_Deals}" >
                                    <apex:param name="deals" value="Hot_Deals"/>
                                </apex:commandLink>
                            </li>
                            <li>
                                <apex:commandLink value="Limited Period Deals" action="{!Set_Deals}" >
                                    <apex:param name="deals" value="Limited_Deals"/>
                                </apex:commandLink>
                            </li>
                            <li>
                                <apex:commandLink value="General Products" action="{!Set_Deals}" >
                                    <apex:param name="deals" value="General_Deals"/>
                                </apex:commandLink>
                            </li>                        
                        </ul>
                    </div>

 

 

 

CSS

 

.header_style ul
    {
        list-style-type:none;
        margin:0;
        padding:0;
        overflow:hidden;
        font-family: 'Arial', sans-serif;
        font-size: 12px;
        background-color:#45b3e0;
        height:28px;        
    }
    .header_style li
    {
        float:left;
        padding-left:30px;
        width:150px;
    }
    .header_style a:link,a:visited
    {
        display:block;                
        color:#FFFFFF;
        background-color:#45b3e0;
        text-align:center;
        padding:5px;
        text-decoration:none;
                
    }
    .header_style a:hover,a:active
    {
        color:#000000;
        background-color:#45a6e0;
        border:1px solid #1e8bb7;
        text-decoration:none;
    }
   

Hi,

 

Please help me to convert string to Byte code using apex.

In java we have Byte data type to convert string to Byte.  

 

 

Thanks Much...!

When I click 'save' button without check the  checkbox(terms and conditions) i.e.., not selected, then error message(not pop-up/dialog window) ApexPages.addMessage(new Appositeness's(ApexPages.Severity.ERROR, 'Please check the Terms and Conditions'));  must come.

 

Note: there is no filed in the object for this. I created in Visual Force page, (value="{!termsCheckBox}" ) action={!save}

I want to know how to write in apex class the functionality in the save button

  • June 22, 2012
  • Like
  • 0

Is it possible to iterate over a List of Maps? In the simplest form, a Map<String,String>... I want to be able to do the following in a visual force page (simplified):

 

VisualForce Page

<apex:repeat value="{!customMap}" var="map">
{!map.name} : {!map.custom}

</apex:repeat>

 

Controller

 

public someController
{
public List<Map<String,String>> customMap = null;

public getCustomMap()
{
if (customMap == null)
{
customMap = new List<Map<String,String>>();

customMap.add(new Map<String,String>{
'name' => 'Apple',
'custom' => 'Pie'
});

customMap.add(new Map<String,String>{
'name' => 'Banana',
'custom' => 'Cake'
});
}
return customMap;
}
}

 

 Would hopefully print something like...

 

 

Apple : Pie
Banana : Cake

 

 This is obviously not working for me, any suggestions or is this not possible right now?