• Merial
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 8
    Replies
Greetings:
 
I've several s-controls that generates XML to talk with BEA Weblogic, since summer 08 they won't work fine, the error jumps in "connection.js" and i'm building the XML with JS. The code for this is:
 
Code:
var altaString= '<Alta xmlns="http://xxx/sva/">' 
 + '<canal>' + canal + '</canal>' 
 + '<login_ip>' + login_ip + '</login_ip>' 
 +'<deal_compra>' + vchDealCompra +'</deal_compra>' 
 +'<id_incidente>' + id_incidente + '</id_incidente>' 
 +'<precio_producto>'+ precio + '</precio_producto>' 
 +'<nombre>'+ nombre+ '</nombre>' 
 +'<apellido>'+ apellido + '</apellido>' 
 +'<id_cliente>' + id_cliente + '</id_cliente>' 
 +'<tipo_cliente>' + tipo_cliente + '</tipo_cliente>' 
 +'<tipo_venta>' + tipo_venta + '</tipo_venta>' 
 +'<asignado>'+asignado+'</asignado>' 
 +'</Alta>'; 
 var oSoapClient = new ActiveXObject("MSSOAP.SoapClient30"); 
 oSoapClient.mssoapinit ('http://xxx/xxx/xx/xxx.wsdl'); 
 
 var resultado = oSoapClient.xxx(altaString);

 
I'm really complicate with this, anyone please?
 
I am having problems at current with an owner field in a new task creation page i am building. The organization I'm working for needs a very different form of functionality in their task creation which i am able to create. However i am running into problems when it comes to being able to change the task assignment when creating the task. Does any one know what type of input i would be needing to achieve this???
 
Cheers.
Hi,
 
I need to override the standard edit page for a custom object. If the status of the custom object record is "Approved", then I do not want users to edit the record, else I need to redirect the users to the standard edit page for this record.
 
I have the following code in VF and controller. I can see the the URL is changed to the edit page URL when I click the edit button after overiding the button with the VF page, but the standard edit page is not getting displayed. Insatead the word Hello is getting displayed.
 
VF Code:
<apex:page standardController="Fixture_Order__c" extensions="conSEditOverrideFixtureOrder" 
id="mypage">
Hello
</apex:page>

 
Controller Code:
public class conSEditOverrideFixtureOrder {
Fixture_Order__c fixordobj; 

private String vid; 


public conSEditOverrideFixtureOrder(ApexPages.StandardController controller) { 

this.vid = ApexPages.currentPage().getParameters().get('id'); 
reset();

} 

public PageReference reset() { 

if(fixordobj.Approval_Status__c=='Approved'){
 PageReference editPage = new PageReference('/'+this.vid+'/e—retURL=' + this.vid);
 editPage.setRedirect(true);
 return editPage;
}else{
PageReference errPage = new PageReference('/apex/editFixtureOrderError');
 errPage.setRedirect(true);
 return errPage;
 
}

return null; 

} 

public String getApprovalStatus(){
 return this.fixordobj.Approval_Status__c;
}

public Fixture_Order__c getFixtureOrder() { 

if(fixordobj == null) reset(); 

return fixordobj; 

} 


public void setLead(Fixture_Order__c leaddet) { 

fixordobj = leaddet; 

} }

 

Can anyone please help to understand the cause? Appreciate all your valuable feedbacks.

Thanks and regards,
Ambili
  • September 02, 2008
  • Like
  • 0
Greetings:
 
I've several s-controls that generates XML to talk with BEA Weblogic, since summer 08 they won't work fine, the error jumps in "connection.js" and i'm building the XML with JS. The code for this is:
 
Code:
var altaString= '<Alta xmlns="http://xxx/sva/">' 
 + '<canal>' + canal + '</canal>' 
 + '<login_ip>' + login_ip + '</login_ip>' 
 +'<deal_compra>' + vchDealCompra +'</deal_compra>' 
 +'<id_incidente>' + id_incidente + '</id_incidente>' 
 +'<precio_producto>'+ precio + '</precio_producto>' 
 +'<nombre>'+ nombre+ '</nombre>' 
 +'<apellido>'+ apellido + '</apellido>' 
 +'<id_cliente>' + id_cliente + '</id_cliente>' 
 +'<tipo_cliente>' + tipo_cliente + '</tipo_cliente>' 
 +'<tipo_venta>' + tipo_venta + '</tipo_venta>' 
 +'<asignado>'+asignado+'</asignado>' 
 +'</Alta>'; 
 var oSoapClient = new ActiveXObject("MSSOAP.SoapClient30"); 
 oSoapClient.mssoapinit ('http://xxx/xxx/xx/xxx.wsdl'); 
 
 var resultado = oSoapClient.xxx(altaString);

 
I'm really complicate with this, anyone please?
 
I have a custom object that has a custom link associated with it.  The custom link is putting data from the custom object fields into the URL as part of the querystring.

One of the fields has data that contains the plus sign (+) and when the data is passed via the querystring the plus sign is being replaced with a blank space.

For example the following data:
iNDWI+WbW/2D2ca4L8bGJYliZS71RKs8mZ+BHXir0jk=

looks like this in the querystring:
iNDWI WbW/2D2ca4L8bGJYliZS71RKs8mZ BHXir0jk=

This is something new that just started to happen.  Is this new functionality in SaleForce and if so are there other characters that will suffer the same symptoms
?

Thanks,

  • January 08, 2007
  • Like
  • 0