• Manu
  • NEWBIE
  • 0 Points
  • Member since 2014
  • Salesforce Developer
  • Ceptes Software Private Limited


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 10
    Replies
Hi all,

In our customer portal we have users created through "Enable Customer Users" option in contact. While saving user unfortunately I am getting an exception from our trigger that contact Id is null. I am facing this issue while creating user through contact. I guess something went wrong in latest release?

Any suggestions please?
  • January 14, 2015
  • Like
  • 0
Hi all,

I am calling a remote action function in the apex:commandLink and trying to show the action status as long as this execution happens...but could not...is there any solution for this? below is the code...

<apex:outputPanel layout="block">
                            <apex:actionStatus stopText="" id="myStatus">
                                <apex:facet name="start">
                                    <img src="/img/loading.gif" title="Please Wait..." />
                                     <span class="waitingDescription">Loading...</span>
                                </apex:facet>
                             </apex:actionStatus>
                         </apex:outputPanel> 
<apex:commandLink style="text-decoration:none;color:blue" value="Delete" onClick="return deleteActionHistory('{!dh.Id}')"  status="myStatus"/>

<script>
function deleteActionHistory(dhid){ 
            recordId = dhid;
            if(confirm('You are about to delete the last action history.')){
            Visualforce.remoting.Manager.invokeAction('{!$RemoteAction.controller.deleteId}',dhid,function(result, event){
                    if(event.status){
                        if(result == 'Time expired'){
                            ccb$("[id$='accessPopup']").show();
                            ccb$("[id$='accessMessage']").show();
                        }else
                            reload(); 
                    }
                });
            }
            return false;
        }

</scipt>

R - Manu
  • November 18, 2014
  • Like
  • 0
Hi all,

In our customer portal we have users created through "Enable Customer Users" option in contact. While saving user unfortunately I am getting an exception from our trigger that contact Id is null. I am facing this issue while creating user through contact. I guess something went wrong in latest release?

Any suggestions please?
  • January 14, 2015
  • Like
  • 0