• Naveen Mosuru
  • NEWBIE
  • 10 Points
  • Member since 2018
  • Altokk Software Solutions Pvt Ltd


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 11
    Replies
CODE:

<table  style="-fs-table-paginate: paginate;" cellspacing="0" cellpadding="0">
                            <tr Style= "white-space: normal;">
                                <apex:repeat var="f" value="{!$ObjectType.sObjectName.FieldSets.FieldSetName}">
                                    <th style="border:1px solid #9039E9;padding:1px 1px;border-collaps;">
                                        <apex:outputText styleClass="bold" style="color:#fff;" value="{!$ObjectType.sObjectName.Fields[f].label}"/>
                                    </th>
                                </apex:repeat>
                            </tr>
                            <apex:repeat var="adpub" value="{!diagnoses}">
                                <tr >
                                    <apex:repeat var="f" value="{!$ObjectType.sObjectName.FieldSets.FieldSetName}">
                                        <td style="border:1px solid #9039E9;padding:3px 5px;border-collaps;">
                                            <apex:outputField value="{!adpub[f]}" />
                                            <!--<apex:outputText value="{!adpub[f]}" />-->
                                        </td>
                                    </apex:repeat>
                                </tr>
                            </apex:repeat>
                        </table> 
Newbie looking for desperate help.

I am trying to authorize an org in VSCode in my compnay environment but failing.

While it connects fine on regular networks, the process keeps failing and showing the "localhost didn’t send any data." 1717 problem that many others also faced.

The frustrating thing is that it works fine in my co-workers laptop but doesn't even when I copy his settings. I already tried cahnging arount the proxy setting on my desktop and on vscode but just cant seem to get it to work.

I have seen couple of similar/same problems but have not found an answer for mine.

SOS

 
  • July 12, 2019
  • Like
  • 0
User-added image

Hello , how can I link the "Create Case Form" url to Create Case btn ?  what im trying to do is, the case form shoud display when i click create case button. Is this possible ? 
where i can use custom settings or what can be scenario where in i need custom setting i have gone through the theory need any practical scenario,,?
    What is the value of "renderas" attribute to display o/p in the form of Excel Sheet?
Salesforce removed support for nooverride =1 in Lightning for winter 17, which is causing a recursive loop whenever I try to navigate to Standard object(Account) from Search List view. Its entering Loop as I've overriden View Button to point to VisualForce page.
 (I've created a Visualforce page that has an extension controller that returns a page reference to point to a URL).
I've tried sforce.one.NavigateToSobject, NavigateToUrl and all other navigation methods, but the problems is Lightning is not accepting
Nooverride as parameter in Winter 17 (Everything works fine in Summer 16)

It would be helpful if anyone can point me in right direction for Winter 17.

 
I'm interested to see if it has been already made available on Field Service Lightning?
https://releasenotes.docs.salesforce.com/en-us/spring16/release-notes/rn_field_service_lightning.htm
I'm using ANT to deploy but always throws a message saying INVALID_LOGIN: Invalid username, password, security token; or user locked out.
I've tried to reset the password and security token as well but still same, can anyone please help me out what might be the cause.? 
  • March 13, 2016
  • Like
  • 0
I was solving this challenge and my VF code is:

<apex:page standardController="Account" recordSetVar="Accounts" >
    <apex:pageblock>
        <apex:repeat var="a" value="{!Accounts}" rendered="true"  id="account_list">
            <li>
                <apex:outputLink value="https://ap1.salesforce.com/{!a.ID}" >
                    <apex:outputText value="{!a.Name}"/>
                </apex:outputLink>
            </li>
        </apex:repeat>
    </apex:pageblock>
</apex:page>

I am getting the list of accounts as required and on clicking on any of the accouts, it redirects to that accounts detail page.
Still I am getting following error from trailhead:

"The page does not bind to the record ID value (in order to link to the record detail page)"
Hello,

I have a PageBlockTable, with few columns, one of them being Checkbox. I want to have a feature like "select/deselect Al"l and Save All.
User-added image

User-added image
 
<apex:page Controller="GestionDeProduit" sidebar="false" showHeader="false" >
    <script type="text/javascript" language="javascript">  
    function checkJS(id1,id2)
    {        
        var v1 ='';
        var v2 ='';
        if(document.getElementById(id1) != null){
            v1 = document.getElementById(id1).value;
        }     
        if(document.getElementById(id2) != null){
            v2 = document.getElementById(id2).value;
        }
        checkAF(v1,v2); 
    }     
    </script> 
    <apex:form id="products">  
        <apex:actionFunction name="checkAF" action="{!updateRow}" reRender="panelRefresh">
            <apex:param name="check1" value="" />
            <apex:param name="check2" value="" />
        </apex:actionFunction>         
        <apex:outputPanel id="panelRefresh" >
            <apex:outputPanel >
                <apex:pageBlock >
                    <apex:pageBlockTable value="{!productList}" var="item">
                        <apex:column headerValue="Products" >
                            <apex:outputText value="{!item.Product__r.Name}"/>
                        </apex:column>
             
                        <apex:column headerValue="Disponibilite" >
                            <apex:inputField value="{!item.Availability__c }" id="availabilityId" onchange="checkJS('{!$Component.availabilityId}','{!$Component.primaryId}');"/>
                            <apex:inputHidden value="{!item.Name }" id="primaryId"/>
                        </apex:column>                          
                    </apex:pageBlockTable> 
                </apex:pageBlock>
            </apex:outputPanel>
        </apex:outputPanel>
    </apex:form>
</apex:page>

public with sharing class GestionDeProduit {
    transient public List<Product_Availability__c> productList{get;set;}
    
    public GestionDeProduit(){
        init();
    }
    
    public void init(){
        try{
              productList = [SELECT  Name, Availability__c
                               FROM Product_Availability__c];   
        }Catch(QueryException de ){
            System.debug(de);
        } 
    }
    
    public void updateRow(){
        String temp2 = System.currentPageReference().getParameters().get('check2');
        List<Product_Availability__c> pList = new List<Product_Availability__c>();
        try{
            pList = [SELECT  Name, Availability__c
                     FROM Product_Availability__c WHERE Name =:temp2];
        }Catch(QueryException de ){
            System.debug(de);
        }               
        if(pList.size()>0){
            if(pList[0].Availability__c == true){
                pList[0].Availability__c = false;
            }else if(pList[0].Availability__c == false){
                pList[0].Availability__c = true;
            }
            try{
                update pList[0];
            }Catch(DMLException de ){
                System.debug(de);
            }              
        }
        init();         
    }    
    
 
}

Thank you
  • July 29, 2015
  • Like
  • 0
What is the value of "renderas" attribute to display o/p in the form of Excel Sheet

Is there a way to delete multiple picklist values without having to click the del link next to each value? We have @50 values in our Source field on the Contact object and I would like to clean it out and start over. Is there a way to due this as a batch delete?

Thanks

  • February 18, 2009
  • Like
  • 0