• Sridhar Bonagiri
  • NEWBIE
  • 359 Points
  • Member since 2009


  • Chatter
    Feed
  • 13
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 14
    Questions
  • 282
    Replies
This component works but does not validate and gives the following error message:
Step not yet complete... here's what's wrong: 
The CSS does not contain a reference to the background image 
Note: you may run into errors if you've skipped previous steps.
I am trying to find the carriage return in case description field.  I used these formula listed below. Everytime it returns zero.
Any ideas how I can find the line break?
Both of these items below return zero. There is definetely a line break in my description field
FIND('\r',  Description,1 )
FIND('\n',Description,1 )
Hi 
i have a scnario:3 fields (data type:Text) First Name,Middle Name,Last Name, if any Duplicate record is going to be created with same values in those three fields, that operation should fail by throwing an error,Is there any possible way to achieve this,through (UI configuration or trigger),
I wonder..how to compare text fields that too 3 Text fields.
hello every one,

will any body know about the vf pag to water mark . can any one explain the procedure please
Thanks,

 
Hi All ,
            I have a Requirement to Download the Visualforce Page as PDF When click on CommandButton


Here I have 2 - Visualforce Pages i have placed a Command Button in One of the Visualforce page when i click on this button the other visualforce page will Download as a PDF without pageredirection


Plese give me a Solution and Thanks in advance...
So, we uploaded the managed package and installed it in a new org (as the clients would) but when accessing a vf page we get the error

SObject row was retrieved via SOQL without querying the requested field: namespace_MyObject_c.namespace_CustomField_c
The problem is that on the previous org everything works fine and on that VF Page we are not actually referencing any value that was the result of a query.

Any idea why this is happening?  We checked the namespace but when we changed it in the development org, it gave us an error.
Hello Team,

We have couple of questions for submitting app in app exchange

1. After submitting the App for getting the security Review, what is next?

2. What are all the steps involved in assigning a license to a customer?

3. When do we upload the marketing material to our app-exchange listing?

4. When a potential customer asks for a trial - should the customer contact us before they install and start using it?

5. Do we need a copy of license for the customer to sign and start using it.

~Nirmal
How can I delete all the records of a custom object in Developer Edition?

Hi,

 

How can I access a field from a managed package which exists in client org?

 

I need to access this filed from development org. How can I achieve this?

 

Regards,

Sridhar Bonagiri

I clicked on Reset Security Token in my salesforce account about 3-4 times today but I have not yet received the security token on my email. I have also checked my Junk folder. What could be the problem?

Hi Guys,

 

We got an error that our code not Enforced SF CRUD and FLS(http://wiki.developerforce.com/index.php?title=Enforcing_CRUD_And_FLS) from Checkmarx report. we could not found anything wrrong in the code. please help me to resolve this issue,

---------------------------------------------
public class DefaultValues
{
public void SetDefaultValues()
{
if(Account.sObjectType.getDescribe().isCreateable())

if (Schema.sObjectType.Account.fields.Name.isCreateable() &&Schema.sObjectType.Account.fields.Description__c.isCreateable() && Schema.sObjectType.Account.fields.ObjectType__c.isCreateable() && Schema.sObjectType.Account.fields.EnabledStatus__c.isCreateable() )
{
List<Account> ListAccont=new List<Account>();
Account ObjAccountExact=new Account();
ObjAccountExact.Name='1st Pass - Strict';
ObjAccountExact.Description__c='Acct Name, Phone & City Exact';
ObjAccountExact.ObjectType__c='account';
ObjAccountExact.EnabledStatus__c='false';
ListAccont.Add(ObjAccountExact);
insert ListAccont;

}
}

}

 

I'm trying to deploy a new version of a package into a dev org and I'm getting the error: "The requested package does not exist or has been deleted. Please contact the package publisher for assistance. If this is a recently uploaded package, please try again soon."  I created the package over an hour ago, and I'm still getting this error - I was able to deploy earlier this morning, so this appears to be new.

Hi i have enabled partnerportal for my organistaion and  when i logged in with goldpartner user and try to assign a task to standard user , its not showing users list in the lookup and when i search with name its giving the following popup' 

You don't have permission to see any of the records in the partner lookup filter ?

 

any idea.?

 

 

Thanks

How many dashboard components we can use in one dashboard?

Hi,

 

I want to display my data row wise in tables on visualforce page.

 

I have tried with following code but it is giving me output columnwise.

 

<apex:page standardController="Account">
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection columns="3">
<apex:pageBlockTable value="{!Account}" var="myUser" id="table1" width="200">
     <apex:column value="{!myUser.Name}" />
     <apex:column value="{!myUser.Phone}" />
     <apex:column value="{!myUser.Name}" />
</apex:pageBlockTable>

<apex:pageBlockTable value="{!Account}" var="myUser" id="table2" columnsWidth="20">
     <apex:column value="{!myUser.Name}" />
     <apex:column value="{!myUser.Phone}" />
     <apex:column value="{!myUser.Name}" />
</apex:pageBlockTable>

<apex:pageBlockTable value="{!Account}" var="myUser" id="table3" columnsWidth="20">
     <apex:column value="{!myUser.Name}" />
     <apex:column value="{!myUser.Phone}" />
     <apex:column value="{!myUser.Name}" />
      
</apex:pageBlockTable>

<apex:pageBlockTable value="{!Account}" var="myUser" id="table4" columnsWidth="20">
     <apex:column value="{!myUser.Name}" />
     <apex:column value="{!myUser.Phone}" />
     <apex:column value="{!myUser.Name}" />
</apex:pageBlockTable>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>

 

Kindly Help

 

Regards,

Mayur

 

If we want to fix a bug and we r in a screen and we need to find the classes & page that is using it.

How to find it.

Thanks

Sai

 I have a visual force page,

 

I created a serach button in visual force page,the serach button return some records into pageblock table,i want to display CSV link to download the serch results any one can please suggest me on this 

 

it would be great helpfull.

 

Thanks In Adavace

Hi Guys,

 

Please I need some help regarding the force.com secutiry review.

 

We have an application which we sent for security review.... the application is completly based on force.com and do not have

any other integration...

 

We did run the chexmax report and it did not receive any Vulnerability messages and was clean..

 

now we have recived the feedback and have 3 major problems could you please help me with the same

 

below are the 3 problem, how can i overcome them..

 

1. DOM based XSS Vulnerability

Code

           if (desc.length > 0){
                tdesc = "<span class='desc'>" + unescape(desc) + "</span>"; 
           }
           if (cmt.length > 0){
                tcmt = "<span class='h'>Comment</span><span class='cmt'>" + unescape(cmt) + "</span>"; 
           }
           title = tdesc + tcmt;
           return title;

File

Winscope_MVPs.page

Notes

Data from custom object is written into the DOM and then placed, via js, into an html execution context. 

How can overcome the above problem in the page.

 

2. FLS Create Vulnerability

Code

Line 77:         edit = true;
Line 78:         
Line 79:         ap = new Action_Plan__c(Opportunity__c=oppId, From__c=fromModule, Who__c=UserInfo.getUserId(),Related_Record_ID__c=recId);
Line 80:         if (recId==null) ap.Winscope_Page__c = WinscopePage; //Action added from respective module page
Line 81:     }//End of WS_AddActionCon
Line 82: 
Line 83:     public void saveAction() {


 

What can be done to pass the review in above case....

 

3. URL Redirection Attack Vulnerability

 

Code

Line 133:     }
Line 134:     
Line 135:     public pageReference backToAction(){
Line 136:         String PageName = apexPages.currentPage().getParameters().get('pageName');    
Line 137:         PageReference pg = new pageReference(PageName);
Line 138:         pg.setRedirect(true);
Line 139:         return pg;

 

 

Please guys I am looking into it but if you could please let me know what is the Vulnerability and how it can be fixed.

 

Awaiting your reply guys thanks.

Hello,

I have the following VF page

<apex:page standardController="Call__c" recordSetVar="call" extensions="CallSetExt" action="{!removeAndRedirect}"></apex:page>

and the controller as follows

public with sharing class CallSetExt {

    private ApexPages.StandardSetController con;
    public CallSetExt(ApexPages.StandardSetController controller) {
        con = controller;
    }
    public PageReference removeAndRedirect()
    {
        delete con.getSelected();
        return new PageReference(ApexPages.currentPage().getParameters().get('retURL'));
    }
    public PageReference callPlanRedirect()
    {
        return (new PageReference('/apex/CallPlanning'));
    }
    public PageReference callReDirect()
    {
        return (new PageReference('/apex/CallPage1'));
    }

}

 

 When I try scanning my code for the security review, I get Cross Site Reference Forgery error for the above page.

Can anyone please help on how should I enforce Cross Site Reference Forgery in the above VF page? I saw the examples salesforce gave but i couldn't apply it to my case.

 

Thanks in advance,

Siim