• javierjies
  • NEWBIE
  • 50 Points
  • Member since 2009

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

Hello everyone!

 

I would like to know how to avoid people to see Leads with a specified record type?

 

Is there any way to do this with Profiles?

 

Thanks in advance!!

Hello everyone!

 

Does anyone know If there is any free APP available to have a live chat in Salesforce? A real chat, not something like a Wall with posts....

 

Thanks in advance!

Hello everyone!!

 

In my company, we would like to have a limit close date for our opportunities of three monhs.

 

Is there any way (preferibly without encoding) to restrict the opportunity close date until three months from today?

 

Thanks in advance!!

Hello everyone!!

 

 

I have a Dashboard with several pies. Each one represents one team of the company but, the colors of the leyend It's not the same for all of them. Is It possible to select the colors? It would make It more...understandable!

 

 

 

Thanks in advance!!

Hello everyone!!

 

 

Doy you know how could I get the Rest of a Math Division with APEX? it is not with the % symbol??

 

 

Thanks in advance!!!

Hello everyone!!

 

 

 

Is there any way to make a sharing of a record by a user who is not the owner of the record?

 

Thanks in advance!!

Hello everyone!

 

I've seen en several Webs, links to obtain trials of SF!

 

 

http://www.orience.eu/salesforce_en.html

http://www.cloudwareconnections.com/salesforce.php

http://www.nexell.net/cms/sfdc.html

 

 

With a small peace of code It's easy to have a trial form embedded in your Web!

 

But, is there any way to create a lead (with a Web-to-lead) in my Org using this?

Is there any way to create a SF trial and get his data to create a Lead?

 

 

Thanks in advance!!!

hello everyone!!

 

I have a VF Page where I want to let people log in.

 

With an Input I want to write the Username, and then clic in a log-in button where I call a function.

 

I've done a Page like this:

 

<apex: page showHeader="false" controller="LogInLogOut">
  <apex:form >
        <apex: outputLabel for="InputText" value="UserName: " />
        <apex:inputText title="UserName" value="{!User}" id="theUserName"/>
   </apex:form>

</apex: page>

 

And the class LogInLogOut is like this:

 

public class LogInLogOut{

public void LogInLogOut(ApexPages.StandardController stdController) {   
}

public String User{get;set;}

public PageReference LogIn()
{

    boolean  alreadyUser=false;
    for(Account C:[select UserName__c from Account limit 1])
    {
        if(C.UserName__c==User)
        {
            alreadyUser=true;
        }
    }

}

 

 

But It doesn't work!!

 

Any idea?!?!?

 

Thanks in advance!!!!!

Message Edited by javierjies on 10-06-2009 12:07 AM

Hello everyone!!!

 

I have done an APEX class. If I use this query;

 

 Contact C=[select Name from Contact where Id not in ('a0U80000001p4TEEAY,a0U80000001p4T9EAI')];

 

 It works! It gives me the Contacts I want!

 

But if I do this;

 

string help='a0U80000001p4TEEAY,a0U80000001p4T9EAI';

Contact C=[select Name from Contact where Id not in (:help)];

 

It doesn't work!

 

How do I pass parameters correctly?!?!?

 

Thanks in advance!!

Is possible to create an object using report data?

 

I know, It sounds crazy but my boss told me she heard about it...

We are planning on implementing a large amount of JavaScript into our application. From what I can remember, I believe that JavaScript (in it's own .js file) cannot be implemented internally into the application and needs to be done externally.

 

Am I wrong about this and does this code need to be tested if it's done on an external server?

Hello everyone!!

 

I've done a Web-to-Lead but I have a checkbox where, if it's uncheked, the sumbit button must be rendered, but if It's checked, the submit button must appears!

 

any idea?

 

thanks in advance!!

Hello everyone!!

 

I have an object called Noticia__c and, when I try to do my first VF Page, where I could see all the fields of Noticia__c, I do this but I get nothing!!

 

 

<apex:page showHeader="false" standardcontroller="Noticia__c">

                    <apex:pageBlock id="result" title="Noticias">
                        <apex:pageBlockTable value="{!Noticia__c}"  var="item">
                             <apex:column value="{!item.Cuerpo__c}"/>
                             <apex:column value="{!item.Titulo__c}"/>
                        </apex:pageBlockTable>
                     </apex:pageBlock>

 </apex:pag>

 

 Am I doing something wrong? Can I do it without doing a Class??

 

Thanks in advance!!

Hello everyone!!

 

I ve started my visualforce page whit this in the beginning:

<apex:page showHeader="false">
<apex:styleSheet value="{!$Resource.cssFile}"/>
 

 

In Static Resources I have a CSS called cssFile and everything works fine but;

 

In the CSS I have this:

 

#footer {
    width:820px;
    height:80px;
    text-align:center;
    margin:0 auto;
    padding:0;

    background: #EFEFEF url(footer.jpg?z=55297) no-repeat 50% 0 ;
}

 

 

 

obviously  background: #EFEFEF url(footer.jpg?z=55297) no-repeat 50% 0; doesn't work

 

 

so, I have uploaded footer.jpg as FOOTER in Static Resources, but I don't know how can I call Resource.FOOTER from the CSS

 

 

Any Idea?!?!?!?

 

 

Thanks in advance!!!

Hello everyone!!

 

I have two Org's connected with Salesforce to Salesforce. I share an object between them but, when I update anything in the object from one of those Org's, I can't see the update field from the other Org!! It's pretty much amazing because I receive an e-mail from salesforce saying that the object has been updated from the other Org...

 

Do I have to share It again?  Updates are not shared or supported with salesforce to salesforce?

 

Thank you  so much!!

Hello everyone!!

 

I've donde this Trigger:

 

trigger FacturacionAutomatica on Expediente__c (after update)
{
   
    Factura__c fac=new Factura__c();
    Tarifa__c tar1;
    for(Expediente__c exp:trigger.new)
    {
        tar1=[select Corresponde__c,Restar_Honorario__c,PSobre_Ingresos__c,Importe_Rango_Superior__c,
              Sobre_Ingresos_Superior_al_Rango__c,Abono_sobre_Facturado__c from Tarifa__c
              where Situacion__c=:exp.Situacion__c
              and Tipo_Demanda__c=:exp.Tipo_Demanda__c
              and Expediente_Cerrado__c=:exp.Cerrado__c
              and Cantidad_Hasta__c>=:exp.Reclamada__c
              and CantidadDesde__c<=:exp.Reclamada__c];         
        fac.Honorarios__c=tar1.Corresponde__c;
        fac.Expediente__c=exp.Id;
        fac.RecordTypeId='012300000003peBAAQ'; 
        insert fac;
    }
}

 

 

 

When I update Expediente__c I get this error message:

 

Error:Apex trigger FacturacionAutomatica caused an unexpected exception, contact your administrator: FacturacionAutomatica: execution of AfterUpdate caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, FacturacionAutomatica: execution of AfterUpdate caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, FacturacionAutomatica: execution of AfterUpdate caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, FacturacionAutomatica: execution of AfterUpdate caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, FacturacionAutomatica: execution of AfterUpdate caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, FacturacionAutomatica: execution of AfterUpdate caused by: System.Exception: Too many SOQL queries: 21 Trigger.FacturacionAutomatica: line 8, column 14 Trigger.FacturacionAutomatica: line 18, column 9 Trigger.FacturacionAutomatica: line 18, column 9 Trigger.FacturacionAutomatica: line 18, column 9 Trigger.FacturacionAutomatica: line 18, column 9: Trigger.FacturacionAutomatica: line 18, column 9

 

 

I don't understand why It doesn't work, because I've done similar Triggers and they run perfectly

 

so..any idea??

 

Thanks in advice!!