• Salvatore Paracuollo
  • NEWBIE
  • 30 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 3
    Likes Given
  • 5
    Questions
  • 6
    Replies
Hi all,
I'm trying to load a set of knolewdge article from sandbox to production environment (using the import articles), but I have a problem with the special characters: I found the articles uploaded correctly, but in the description field (reach text) I found special characters corroded.
I also tried to use different encoding parameters (UTF8,ISO8859_15_FDIS) in the import.properties file, but no luck!

Can anyone help me please? 
Hi all,
I'm trying to rerender a field set based on the selected picklist value, so I thougth to use a script, but I have the following problem: I tried to use a class to refer every field in the set, but the lable don't diappear: so I have to refer each element in order to delete the field label, but I'd like to use the class so I can use just one instruction (tried with ). I show you the code: can anyone helpe me?
  • Vf page:


    <apex:selectList label="Seleziona tipologia" id="tiporecord" value="{!type}" multiselect="false" size="1" required="true" onchange="mostraCampoAggiuntivo(this.options[this.selectedIndex].value)" >
        <apex:selectOption itemValue="" itemLabel="- Seleziona un valore -"/>
        <apex:selectOption itemValue="Domanda" itemLabel="Domanda"/>
        <apex:selectOption itemValue="Risposta" itemLabel="Risposta"/>
        <apex:selectOption itemValue="Avviso" itemLabel="Avviso"/>
        <apex:selectOption itemValue="Soluzione" itemLabel="Soluzione"/>
        <apex:selectOption itemValue="Conclusione" itemLabel="Conclusione"/>
        <apex:actionSupport event="onchange" action = "{!returnType}" reRender="topPanel"/>
    </apex:selectList>               
    <apex:outputText value="Pending" label="Stato" />
    <apex:inputField value="{!Troubleshooting__c.Testo__c}"  style="width: 100%" required="true"/>
    <apex:outputField value="{!parentTS.Testo__c}" label="Nodo padre"/>
    <apex:inputField value="{!Troubleshooting__c.Testo_Aggiuntivo__c}" label="Testo Aggiuntivo" id="TestoAggiuntivo" style="display: none"/><br/>  

    
    
    <apex:inputField value="{!Troubleshooting__c.Azione__c}" label="Azione" id="Azione" style="display: none" styleClass="flag"/>
    <apex:inputField value="{!Troubleshooting__c.Tracciamento__c}" label="Tracciamento" id="Tracciamento" style="display: none" styleClass="flag" />
    <apex:inputField value="{!Troubleshooting__c.FlagEsigenza__c}" label="Flag esigenza" label="FlagEsigenza" style="display: none" styleClass="flag" /><br/><br/>                      
    <apex:inputCheckbox value="{!Troubleshooting__c.Richiesta_Login__c}" label="Richiesta Login" label="RichiestaLogin" style="display: none" styleClass="flag"/>
    <apex:inputCheckbox value="{!Troubleshooting__c.Autorizzazione_Swap_Materiale__c}" label="Autorizzazione Swap Materiale" label="AutorizzazioneSwapMateriale" style="display: none" styleClass="flag" /> 
    <apex:inputCheckbox rendered="false" /> 
    <apex:inputCheckbox value="{!Troubleshooting__c.DigitalKey__c}" label="DigitalKey"  id="DigitalKey" style="display: none" styleClass="flag" />
    <apex:inputCheckbox value="{!Troubleshooting__c.Aggiornamento_Servizi_DTT__c}" label="Aggiornamento Servizi DTT" label="AggiornamentoServiziDTT" style="display: none" styleClass="flag" />
    <apex:inputCheckbox value="{!Troubleshooting__c.Decoder__c}" label="Decoder" id="Decoder" style="display: none" styleClass="flag" /> 
    <apex:inputCheckbox value="{!Troubleshooting__c.Reset_PIN__c}" label="Reset PIN" id="ResetPIN " style="display: none" styleClass="flag" />
    <apex:inputCheckbox value="{!Troubleshooting__c.SmartCard__c}" label="SmartCard" id="SmartCard" style="display: none" styleClass="flag" />
    <apex:inputCheckbox value="{!Troubleshooting__c.Reset_SMC__c}" label="Reset SMC" label="ResetSMC " style="display: none" styleClass="flag" />                
    <apex:inputCheckbox value="{!Troubleshooting__c.Telecomando__c}" label="Telecomando" label="Telecomando" style="display: none" styleClass="flag" /> 

                         
 
  • Script:
 
    if(selected=='Conclusione'){
        console.log('*********selected: '+selected);
        $("[class$=flag]").css('display', 'block');
        $("[for$='Reset']").css('display','block');
        $("[for$='ResetPIN']").css('display','block');
        $("[for$='DigitalKey']").css('display','block');
        $("[for$='Telecomando']").css('display','block');
        $("[for$='SmartCard']").css('display','block');
        $("[for$='Decoder']").css('display','block');
        $("[for$='AutorizzazioneSwapMateriale']").css('display','block');
        $("[for$='AggiornamentoServiziDTT']").css('display','block');
        $("[for$='RichiestaLogin']").css('display','block');
        $("[for$='FlagEsigenza']").css('display','block');
        $("[for$='Tracciamento']").css('display','block');
        $("[for$='Azione']").css('display','block');             
    }
Hi,
I am newbie on sfdc: I'm trying to show an icon image when my Vf page is loading: I think I can do it using an action status, but I just founded examples with apex button,how can apply this example to my case? can anyone help me?

thanks : )