• gbu_jini
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 3
    Replies

Hello,

 

I need to integrate asterisk with SFDC using Open CTI 25.0. So, no softs on users computers.

I want a totally free solution.

I tried webphones in flash, javascript, ajax/jquery.

My asterisk sip server is on a local network and is not accessible over the internet.

I saw on many blogs/forums that I probably need to use a rtmp gateway.

But, I did not found any solution. 

 

Have you some ideas for me ?

 

Thanks in advance.

I need to test if a field set exists. I try a lot of things, but nothing works.

 

Can you help me ?

 

Thanks.

I developed a Force.Com SIte that display an account in a form. I have a save button. But i receive this error when i try to save :

system.security.NoAccessException

 

My VF :

<apex:page showheader="false" controller="DemoForceComSite">
    <apex:form id="ficherenseignementform">
        <apex:pageMessages />                     
        <apex:inputHidden value="{!accountId}"/>
        <apex:outputLabel value="Raison sociale " for="RaisonSociale"/>  
        <apex:inputText id="RaisonSociale"  value="{!oAccount.name}" styleClass="inputtext" />
        <div>
             <apex:commandButton action="{!save}" value="Save"  />
             <apex:commandButton action="{!save2}" value="Save2"  />
             <apex:commandButton action="{!cancel}" value="cancel"  />
        </div> 
    </apex:form>
</apex:page>

 My controller :

public class DemoForceComSite{

    public Account        oAccount {get;set;}  
    public String         accountId {get;set;} 
      
    public DemoForceComSite() {        
        
        accountId = '001P000000WlX5O';
        try {
            oAccount = [Select Id, Name From Account where Id= :accountId limit 1];
       } catch (Exception e) {
                // Display error message
            ApexPages.addMessage(new ApexPages.Message(ApexPages.severity.ERROR, 'Impossible de retrouver les informations nécessaires à l\'affichage de la page. Veuillez prendre contact avec votre interlocuteur.'));
            return;
        }
    }

   public PageReference save() {      
        oAccount = [Select Id, Name From Account where Id= :accountId limit 1];
        oAccount.name = 'Test';
        upsert oAccount ;  
        return null;
    }
   public PageReference save2() {    
        upsert oAccount;
        return null;
    }
   public PageReference cancel() {
        return null;
    }
}

 

Every method fails. Even the cancel method !! The rights are ok on the object.

 

It seems that the error not occurs when i withdraw all the account fields on the VF !! But i need them !!

 

Any idea ?

 

I would like to create an extranet with Force.com Sites pages with an authentication that allow access to my SalesForce.com users.

 

The FAQ indicates that it is possible : 

http://wiki.developerforce.com/index.php/Sites_FAQ

 

I tried with http://wiki.developerforce.com/index.php/Authenticating_Users_on_Force.com_Sites, but that only allow customers to login and it redirects to the customer portal.

 

But, what I need is to authenticate SalesForce.com users on Force.com Sites. Any Idea ? Is there a way to do this ?

Do you know how to perform auto refresh for dashboards without S Control ?

I developed a Force.Com SIte that display an account in a form. I have a save button. But i receive this error when i try to save :

system.security.NoAccessException

 

My VF :

<apex:page showheader="false" controller="DemoForceComSite">
    <apex:form id="ficherenseignementform">
        <apex:pageMessages />                     
        <apex:inputHidden value="{!accountId}"/>
        <apex:outputLabel value="Raison sociale " for="RaisonSociale"/>  
        <apex:inputText id="RaisonSociale"  value="{!oAccount.name}" styleClass="inputtext" />
        <div>
             <apex:commandButton action="{!save}" value="Save"  />
             <apex:commandButton action="{!save2}" value="Save2"  />
             <apex:commandButton action="{!cancel}" value="cancel"  />
        </div> 
    </apex:form>
</apex:page>

 My controller :

public class DemoForceComSite{

    public Account        oAccount {get;set;}  
    public String         accountId {get;set;} 
      
    public DemoForceComSite() {        
        
        accountId = '001P000000WlX5O';
        try {
            oAccount = [Select Id, Name From Account where Id= :accountId limit 1];
       } catch (Exception e) {
                // Display error message
            ApexPages.addMessage(new ApexPages.Message(ApexPages.severity.ERROR, 'Impossible de retrouver les informations nécessaires à l\'affichage de la page. Veuillez prendre contact avec votre interlocuteur.'));
            return;
        }
    }

   public PageReference save() {      
        oAccount = [Select Id, Name From Account where Id= :accountId limit 1];
        oAccount.name = 'Test';
        upsert oAccount ;  
        return null;
    }
   public PageReference save2() {    
        upsert oAccount;
        return null;
    }
   public PageReference cancel() {
        return null;
    }
}

 

Every method fails. Even the cancel method !! The rights are ok on the object.

 

It seems that the error not occurs when i withdraw all the account fields on the VF !! But i need them !!

 

Any idea ?

 

Do you know how to perform auto refresh for dashboards without S Control ?

I had some success today refreshing dashboard and thought I'd share. I found some code from SF Heretic on refreshing homepages and dashboards, but it didn't quite work for me, though it got me pointed in the right direction which I greatly appreciate! Their code for refreshing the homepage didn't work for me the way it was setup. What did work was going to Homepage components and adding to the Messages & Alerts:

<meta http-equiv=refresh content=600>

And if you stay on the home page it does refresh after 10 minutes.

What I wanted to do was refresh a dashboard we have for mgmt users whenever they hit that page so they see the current numbers without having to click refresh. What I ended up doing was adding a component to the dashboard that was an S Control and all it contained was the following code where the ID listed is the ID of the dashboard. You can see the exact window open code I lifted below by going to the dashboard and with FIREBUG installed click INSPECT and select the REFRESH button on the page and it will show you something like the below....

Code:
<BODY onLoad="refreshDashboardTimeout();" >
<script>
function refreshDashboardTimeout() {
window.open('/01Z6000000073av—m=poll&refresh=1', 'db_refresh_frame');
}
</script>

Hope that helps some of you out there..........

E





  • May 17, 2007
  • Like
  • 0