• Mahi123
  • NEWBIE
  • 30 Points
  • Member since 2012

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 9
    Questions
  • 14
    Replies
Hi,

We have a trigger on Account Object and we didn't write any specific test class for this Account trigger but this trigger is covering from defferent test calsses because from these test classes we are inserting Account record.

When we are deploying the changeset with this trigger we got an error AccountTrigger should have at least 1% code coverage but we covered this trigger from mutiple classes. Can any one have an idea why it is throwing an error.  

Hi,

 

  In my trial Org I have created a customer portal and I have done all the setup but tabs are not showing when I am login into customer portal.

 

   but previously I done customer portal in my packaged Org and when I am try login that customer portal the tabs are showing my question is Is I need to do any extra setup in my trial Org?

Hi,

 

  would you please suggest me which one is better way.

 

 I found two ways to achieve requirement.
 
   1. Creating two portals 1st one is for Customers and 2nd one is for Technicians.
   2. Creating two profiles for Customer and Technician but here is the problem Customer and Technicians will have the same tabs.
 
  those are
 
1.Installed Product((restrict for Technicians)
2.Sales Order(restrict for Technicians)   
3.Service Order
4.My Activities (restrict for Customers) 
      
 when Customer is login into Customer Portal I would like to show
 1.Installed Product
 2. Sales Order 
 3.Service Order
 
if Technician login into Customer Portal I would like to show only 
 
1.My Activities tab(default landing tab)[Web tab]
 
1st option suitable for my requirement but here I need confirm that Customer and Technician can login from the same login page and same URL or different. If it same that's great for me.
 
But I found two customer portal having 2 different URL. I would like to give only one login form from this Customer and Technician both should login.
 
 
Please suggest me a better way to achieve my requirement. If you have any queries or suggestions please let me know.
 
Any help is Appreciated.

Hi Everyone,

 

          Is It possible to expose some of the functionality(some of the objects) into the Offline mode.if it is Please let me know the process.

 

Any help is Appreciated.

 

 

Hi

 

based on my client requirement i should add two lines code to my managed pacakge trigger but it is not possible so my idea is i would like to a create a new Trigger in my trial Org and dectivate the existing trigger in my managed package.

 

so my object has two triggers is it will create any security issue.

 

plese help me any other best way to do this. 

Hi,

 

 I have two objects 1. Teacher(parent)  2. Subjects(child)---- Master Detail Relationship

 

When I am selecting one teacher I can see all the Subjects as related list. If I open 1st subject the page will navigated to Subject detail page. Here I want create 2 buttons 1. Next and 2. Previous

 

If I am clicking Next button then it should go to Next subject detail page if I am clicking on Previous button then I should navigated to Previous Subject

 

   Here for example Mahi teacher has 6 subjects if I open 1st subject if I click Next button I should navigate 2nd subject if I click Previous then I should navigated to 1st subject.

 

 I have done vf page

 

          

<apex:page standardController="Activitie__c" showHeader="true" sidebar="true" >
<apex:form >
<apex:commandButton value=" Next " />&nbsp;&nbsp;&nbsp;
<apex:commandButton value="Previous"/>
</apex:form>
<apex:detail relatedList="true" title="true"/>


</apex:page>

 

 

Any help is appreciated.

Hi,

 

  I would to write a Bulkify Trigger.

 

Here is my criteria,

 

             I have two objects 1. Parent 2. Child

 

Child and Parent both have the same field Status values( Open, Closed And Completed)

 

If All child records have the same value Open then the parent status should update to Open. IF all child records status is Closed then my parent status should update to Closed.

 

I can write for one record it is very simple but I would like to write for Bulkify Records.

Hi, I would like to display my visualforce page as like below 0(radio button) Name----------------- ---------------------------------------------------------------------------------- 0(raduo button) Class------------------ ---------------------------------------------------------------------------------------- 0(radio button) Subject-------------- -------------------------------------------------------------------------------------- If I select first radio button only name field enable all other fields should disable. Any help is Appreciated

Hi 

 

I have one object Schedule have Monday_Start_Time and Monday_End_Time like up to Sunday_Start_Time and Sunday_End_Time so total 14 fields. I would like to display like this.

 

 

  Day                  Start Time                       Endtime

 

 Monday              6:00 AM (Picklist)          6:00 PM                    Clear button

 Tu esday            --None--                       --None--                   Clear button

 wenesday          --None--                       --None--                   Clear button

  ------

  ----

                                                                                                       -------------

Sunday                --None--                       --None--                    Clear Button

 

  

Clear All  button:

 

 (default is --None-- if I am clicking any Clear button that particular row values should change to --None-- ex I am clicking Monday row Clear button 6:00 AM and 6:00 Pm should change to --None-- and --None-- respectively.

 

if I am clicking Clear All button all values should changes to --None--.

 

Any help is Greatly Appreciated.

 

 

when I am clicking Clear All button all fields should null. If I am clicking on particular Clear button that row values(may Monday start time and End time) should null.

 

Any help is greatly Appreciated.

 

 

------------
Mahi

Hi,

 

  In my trial Org I have created a customer portal and I have done all the setup but tabs are not showing when I am login into customer portal.

 

   but previously I done customer portal in my packaged Org and when I am try login that customer portal the tabs are showing my question is Is I need to do any extra setup in my trial Org?

Hi

 

based on my client requirement i should add two lines code to my managed pacakge trigger but it is not possible so my idea is i would like to a create a new Trigger in my trial Org and dectivate the existing trigger in my managed package.

 

so my object has two triggers is it will create any security issue.

 

plese help me any other best way to do this. 

Hi,

 

  I would to write a Bulkify Trigger.

 

Here is my criteria,

 

             I have two objects 1. Parent 2. Child

 

Child and Parent both have the same field Status values( Open, Closed And Completed)

 

If All child records have the same value Open then the parent status should update to Open. IF all child records status is Closed then my parent status should update to Closed.

 

I can write for one record it is very simple but I would like to write for Bulkify Records.

Hi,

 

How to create tables dynamically in vf page? For example i have 2 objects having 2 pick list fields in two fields

values are same like group1,group2,group3.....

 

suppose i have 5 pick list values using vf page in 2 objects pick list values are same thar records

in same table in two rows like this

 

 

hghghfghf ghghfhgf  fhffhh

 

fghfhf         fhhfhf         hghfhf         hghfhffh    hfhhf

 

but i have 5 pick list values so display records dynamically in tables horizontally. suppose i have only one grovp(picklist value) records only display only 1 table only

 

Any one can help?

 

 

Thank you

 

 

 

 

 

Hi, I would like to display my visualforce page as like below 0(radio button) Name----------------- ---------------------------------------------------------------------------------- 0(raduo button) Class------------------ ---------------------------------------------------------------------------------------- 0(radio button) Subject-------------- -------------------------------------------------------------------------------------- If I select first radio button only name field enable all other fields should disable. Any help is Appreciated