• Bondicloud
  • NEWBIE
  • 190 Points
  • Member since 2012
  • CTS

  • Chatter
    Feed
  • 7
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 38
    Questions
  • 38
    Replies

i am having one dought

             when i clink on menu it will shows menu items and select any item it will redirect to another one Ex:like in salesforce.com when click on setup and below shows like developerconsole and logout

Hi,
openVFpage : function (component, event, helper) {
    var urlEvent = $A.get("e.force:navigateToURL");
    urlEvent.setParams({"url": "https://bondicloud-dev-ed--c.ap1.visual.force.com/apex/ChittySummaryPage"});
    urlEvent.fire();
    }
the above code component if i invoke through app builder it is working but same component if i invoke with lightning app it throughing error as 
This page has an error. You might just need to refresh it. Action failed: c$URLnavigate$controller$openVFpage [Cannot read property 'setParams' of undefined] Failing descriptor: {c$URLnavigate$controller$openVFpage}

so is it posible to open visualforce page from lightning application?

 
Hi ,
I am getting common.apex.runtime.impl.ExecutionException: no protocol when i am calling webservice, can you please let me know what is the issuse. i calling https://Partnerapi.progrexion.com/sfinbound/v1/supportnote/20801380/CRCOM endpoint in @feature mehod.
Hi ,

I am facing below issue when i am parsing wsdl file.

Failed to parse wsdl: Found more than one wsdl:portType. WSDL with multiple portType not supported. 

and WSDL Have below code:  so what is the solution to it.How can i put within single porttype Pla Help on this
 
and the WSDL code is :
 
 <portType name="OrganizationQueryService">
  <operation name="getOrganization">
   <input message="tns:getOrganization_Input"></input>
   <output message="tns:getOrganization_Output"></output>
  </operation>
 </portType>
 <portType name="OrganizationService">
  <operation name="createOrganization">
   <input message="tns:createOrganization_Input"></input>
   <output message="tns:createOrganization_Output"></output>
  </operation>
  <operation name="updateOrganization">
   <input message="tns:updateOrganization_Input"></input>
   <output message="tns:updateOrganization_Output"></output>
  </operation>
  <operation name="deleteOrganization">
   <input message="tns:deleteOrganization_Input"></input>
   <output message="tns:deleteOrganization_Output"></output>
  </operation>
 </portType>
 <portType name="OrganizationMergeRequest">
  <operation name="OrganizationSubmitMergeRequest">
   <input message="tns:OrganizationSubmitMergeRequest_Input"></input>
   <output message="tns:OrganizationSubmitMergeRequest_Output"></output>
  </operation>
 </portType>
 ----------------------------------------------------------------------------------
  <binding name="OrganizationQueryService" type="tns:OrganizationQueryService">
  <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
   style="document"></soap:binding>
  <operation name="getOrganization">
   <soap:operation
    soapAction="document/http://xmlns.oracle.com/apps/mdm/customer:getOrganization"></soap:operation>
   <input>
    <soap:body use="literal"></soap:body>
   </input>
   <output>
    <soap:body use="literal"></soap:body>
   </output>
  </operation>
 </binding>
 <binding name="OrganizationService" type="tns:OrganizationService">
  <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
   style="document"></soap:binding>
  <operation name="createOrganization">
   <soap:operation
    soapAction="document/http://xmlns.oracle.com/apps/mdm/customer:createOrganization"></soap:operation>
   <input>
    <soap:body use="literal"></soap:body>
   </input>
   <output>
    <soap:body use="literal"></soap:body>
   </output>
  </operation>
  <operation name="updateOrganization">
   <soap:operation
    soapAction="document/http://xmlns.oracle.com/apps/mdm/customer:updateOrganization"></soap:operation>
   <input>
    <soap:body use="literal"></soap:body>
   </input>
   <output>
    <soap:body use="literal"></soap:body>
   </output>
  </operation>
  <operation name="deleteOrganization">
   <soap:operation
    soapAction="document/http://xmlns.oracle.com/apps/mdm/customer:deleteOrganization"></soap:operation>
   <input>
    <soap:body use="literal"></soap:body>
   </input>
   <output>
    <soap:body use="literal"></soap:body>
   </output>
  </operation>
 </binding>
 <binding name="OrganizationMergeRequest" type="tns:OrganizationMergeRequest">
  <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
   style="document"></soap:binding>
  <operation name="OrganizationSubmitMergeRequest">
   <soap:operation
    soapAction="document/http://xmlns.oracle.com/apps/mdm/customer:OrganizationSubmitMergeRequest"></soap:operation>
   <input>
    <soap:body use="literal"></soap:body>
   </input>
   <output>
    <soap:body use="literal"></soap:body>
   </output>
  </operation>
 </binding>
 
I created field with Rich Text Area in my developer organization . and i add that field in page layout . when i am editing record the editable field showing as below. Here i am not getting any option to insert image. can u help why it is not showing.
User-added image
is it support sfdc standerd functionality by default
HI ,
 what is the process to enable Email Messages in case object.  iam using Developer eddition
when click "Send an Email" of salesforce standard functionality in case it is opening email template in this "CC" is the one option for that i want add contact email address as a default value  is it posible? pls help in this...

@bondi

Hi How to disable/Enable custom buttons on case detail view.

 

scnario:

i have one custom button on case detail view , it has to enable or disabel  based on some condition when case detail view loading .

Ex: when i click on case record it will open detail view that time only the custom button has to disable  based on user.

 

 

 

pls give me suggestions how to do.

<apex:includeScript value="/support/console/26.0/integration.js"/>
<A HREF="#" onClick="testIsInConsole();return false"> Click here to check if the page is in the Service Cloud console</A><br/><br/>
<script type="text/javascript">
window.onload =testIsInConsole();
function testIsInConsole() {
if (sforce.console.isInConsole()) {
alert("in console");
} else {
alert("not in console");
}
}

 

 

when i ececute this code it is giving as "not in console" eventhough i am in service console why?

pls help in this

Hi All,

 

in my visual force page . i wrote code like bellow

 

<apex:includeScript value="/support/console/20.0/integration.js"/>
<script type="text/javascript">

window.onload=testSetTabTitle;



function testSetTabTitle() {
// alert('hi');
//Set the current tab's title
sforce.console.setTabTitle('Sales Offer Page');
}

</script>

 

some times it showing  sub title as  sales offer page but some times it is showing as External page ?

 

what is the cause? please help in this

Hi ,

 

Based on which api data loader works?

 

can any body give qiuck responce

 

 

Hi All,

 

 pls explain bellow statement how to build this ?

 

location.replace('_ui/core/email/author/EmailAuthor?p2_lkid={!Commercial_Agreement__c.My_Cutom_To_EmailField__c}&rtype=003&p3_lkid={!Commercial_Agreement__c.Id}
&rtype=003&p24={!Commercial_Agreement__c.My_Custom_AdditionalToEmail__c}&retURL=/{!Commercial_Agreement__c.Id}&template_id=00XA0000000Dv41')

 

and what are the p2_lkid, rtype,  p3_lkid and where we can see this variables and wher these values will send (where it will check)?

Does anyone know the maximum number of characters that a SFDC variable
name can have?

Hi,

 the bellow code working correctly in crome browser but in IE it is opening new window, so how to make self window in IE.

window.onload = function() {
// create the form. Set it up to POST the transaction
f = document.createElement("form");
//http://d1t0028g.austin.hp.com/ewfrf/wc/arcHome
f.action="https://astroitgadt.cce.hp.com/ewfrf-sfdc/wc/arcHome";
f.method = "post";
f.target = "_self";

 

pls any body can help in this.

 

Hi ,

 

is there any toll to test Rest API functionality ?

 

in My project we are using Rest Based we bservises so how to test the sourse server or application is working or not?

 

 

 

Thanks & Regards.

Narayana

 

Hi All,

 

how to get only  Custom profile name in soql query....  whic field am i use in where condition

 

Select p.UserType, p.UserLicenseId, p.PermissionsViewSetup, p.PermissionsManageUsers, p.PermissionsManageDataCategories, p.PermissionsManageDashboards, p.PermissionsManageCustomReportTypes, p.PermissionsManageChatterMessages,

 

 

 

p.Id,p.name, p.Description, p.CreatedDate, p.CreatedById From Profile p where p.PermissionsViewSetup = true

 

 

 

 

Hi ,

 

i am planig to write 501 exam in sfdc but i am not having 401. is it posible to write?

Hi All,

 

my eclipse is working in outside my HP network but not working in my hp network.

 

for that i gave proxy settings as  web-proxy.corp.hp.com  8080  but it is not working  

now i am getting error as  connection refused.

 

 

so what is the problem?

 

am i need to raise request  to any body ? or what is the actual case?

Hi All,

 

Generally if i open custom object  .. in the url i got objcet id .  but if i open standard objects like Account or user i am not getting ...

so can any body help how to get user object id.

 

@

Narayan Bondi

Hi All,

 

I am getting bellow error when i run the appliction in SOAP UI .

 

i.e   i created one project with partner WSDL and i am planing to delete one record with Delete mrthod  that time i am getting bellow error  .  can any body help in this.

 

Error getting response; org.apache.http.conn.httpHostConnectionException:Connection to https://login.salesforce.com refused

Hi ,
I am getting common.apex.runtime.impl.ExecutionException: no protocol when i am calling webservice, can you please let me know what is the issuse. i calling https://Partnerapi.progrexion.com/sfinbound/v1/supportnote/20801380/CRCOM endpoint in @feature mehod.
when click "Send an Email" of salesforce standard functionality in case it is opening email template in this "CC" is the one option for that i want add contact email address as a default value  is it posible? pls help in this...

@bondi

<apex:includeScript value="/support/console/26.0/integration.js"/>
<A HREF="#" onClick="testIsInConsole();return false"> Click here to check if the page is in the Service Cloud console</A><br/><br/>
<script type="text/javascript">
window.onload =testIsInConsole();
function testIsInConsole() {
if (sforce.console.isInConsole()) {
alert("in console");
} else {
alert("not in console");
}
}

 

 

when i ececute this code it is giving as "not in console" eventhough i am in service console why?

pls help in this

Hi All,

 

 pls explain bellow statement how to build this ?

 

location.replace('_ui/core/email/author/EmailAuthor?p2_lkid={!Commercial_Agreement__c.My_Cutom_To_EmailField__c}&rtype=003&p3_lkid={!Commercial_Agreement__c.Id}
&rtype=003&p24={!Commercial_Agreement__c.My_Custom_AdditionalToEmail__c}&retURL=/{!Commercial_Agreement__c.Id}&template_id=00XA0000000Dv41')

 

and what are the p2_lkid, rtype,  p3_lkid and where we can see this variables and wher these values will send (where it will check)?

Does anyone know the maximum number of characters that a SFDC variable
name can have?

Hi ,

 

is there any toll to test Rest API functionality ?

 

in My project we are using Rest Based we bservises so how to test the sourse server or application is working or not?

 

 

 

Thanks & Regards.

Narayana

 

Hi All,

 

how to get only  Custom profile name in soql query....  whic field am i use in where condition

 

Select p.UserType, p.UserLicenseId, p.PermissionsViewSetup, p.PermissionsManageUsers, p.PermissionsManageDataCategories, p.PermissionsManageDashboards, p.PermissionsManageCustomReportTypes, p.PermissionsManageChatterMessages,

 

 

 

p.Id,p.name, p.Description, p.CreatedDate, p.CreatedById From Profile p where p.PermissionsViewSetup = true

 

 

 

 

Hi All,

 

Generally if i open custom object  .. in the url i got objcet id .  but if i open standard objects like Account or user i am not getting ...

so can any body help how to get user object id.

 

@

Narayan Bondi

when we accessing webswervises in service request organization we need sessionid?

so can any body give idea of why we are accessing sessionid?
what is the use?
even to accesses other salesforce organization data we need session id?

when it will expired?
when it will change the sessionid exactly?

 

Hi All,

 

I am not get Ids of HTML as vf elements ids .  when page loading ....it shwoing null values in alert(),....canu any body help in this.

 

<apex:page Controller="ForeCastCls" standardStylesheets="false" >

<script type="text/javascript">
window.onload = new function() {
    alert('addoption calling...');
    var selectEl = document.getElementById('SelectId');
    alert('select option id:'+selectEl);
    var prodNameEle = document.getElementById('j_id0:akaFormId:pgblcId:apexButtonId');
    alert('prodNameEle...Id:'+prodNameEle);
 
    };
</script>
<apex:form id="akaFormId">
<HTML>
            <Body>
                secondary Accounts:
                <select name="secondary Account"  id="SelectId">
                            
                </select>
                <input type="button" value="add" id="selectoptButtonId"/>
                <apex:pageBlock id="pgblcId">
                     <apex:inputText id="apexButtonId" value="{!bondi}"  ></apex:inputText>
                </apex:pageBlock>
               
            </Body>
        </HTML>
</apex:form>
</apex:page>

 

 

thanks.

bondi

Hi All,

 

I have selectoption list  values  in java script . how i can access this values in visualforce page.

 

Eg:

<script>

var options ;

 

</script>

 

i want to access options values in 

 

<apex:selectList value="{!selectedAccount}" size="1" id="akaList" >

<apex:selectOptions value="{!options}" id="akaoptId" /> // here i have to access the java script options values ......is it posible?
<apex:actionSupport event="onchange" action="{!viewAccount}" status="akaStatus" rerender="linkPanel"/>
</apex:selectList>

 

can any body help in this ,

 

 

 

Thanks@regards.

Bondi.

HI 

   can any body give the solution for the . i created one demo instance as  narayana.bondigala@96demo.com,  for that i have to enable the customizable forecasting.through crating the case we can enable for the main instance  but for the demo instances , how i can create case.  any body help in this......

 

 

thanks.

Hi,

 

My Issue is like this i am displaying accounts and when ever i click on that account that entire ROW background color has to be set green. It is working fine but when i click on the 2nd Row the 1st Row background color should vanish.

 

But it displaying background color to all rows which ever i selected.Please fix it.

I am pasting the code here.

 

<apex:page standardController="Account" recordSetVar="act" sidebar="true" showHeader="false" wizard="false" tabStyle="Inv1__tab">
<apex:form id="accForm">
    <apex:pageBlock title="All Acounts" >
        <apex:pageMessage summary="Click on the account name" severity="info" strength="2"/>   
            <apex:pageBlockTable id="accTable" value="{!act}" var="a" onrowClick="show(this);">
                <apex:column headerValue="Account Name"><a href="#">{!a.Name}</a></apex:column>    
                <apex:column headerValue="Phone" >{!a.phone}</apex:column>
                <apex:column headerValue="Billing State/Province" >{!a.BillingState}</apex:column>
                <apex:column headerValue="Website" >{!a.Website}</apex:column>
            </apex:pageBlockTable>      
    </apex:pageBlock>
</apex:form>
<style>
.selectedDataRow {
    background-color: #ccffbb;
}
</style>
<script>
        function show(rowVar){               
        rowVar.className="selectedDataRow";
                
        }
</script>
</apex:page>

 

 

Thanks,

Bujji

  • June 07, 2012
  • Like
  • 0

Hi ,

 

    i created one webservises and i generated WSDL file after that  when i run that address url it showing  like

    

405 GET not supported, this is a SOAP service, please use POST. what is the problem can any budy suggest ....   

 

my wsdl url is:

 

https://ap1-api.salesforce.com/services/Soap/class/AccountPlan?wsdl

Hi, 

     I want to create one website like solutions,customers and carrers....   loke some tabs after that when i click on any tab it has to open and  it show the information like that. but data has to store in salesforce.com....

 

 

   is it posible as a free through salesforce?

Apex Editor LS is an alternative eclipse editor plugin for the SalesForce.com Apex language.

 

Latest new feature: Objects and object fields support in content assist.

 

Visit plugin home page for full info.

  • February 27, 2012
  • Like
  • 0

Hi guys,

 

I have a visualforce page at the bottom of Support Console. This visualforce page will helps support staff to add Time entry for case on which they are working. Time Entry has Master detail relationship with Cases. Once reps click on Save button to it will store entry in Time Entry custom object and after that it should refresh/reload active case Tab on which he/she is working. I have command button named save which calls action method in controller. Once action is performed I need to refresh active case tabs. I am able to add entry in object, but I dont see any way to refresh active case tabs.

 

Any idea how to refresh/reload active case tab after saving entry in time entry object? I can't use client side onclick javascript because it invokes before action method call. I need some mechanism to refresh after my action method completes successfully.

 

Thanks,

Ankur