• hvennam1.3968892315509075E12
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 2
    Replies
Problem:
I am trying to relate Events object and custom object__c  

But only event is created with the below  SOQL query but it is not relating to that Custom Object

Query:
[select id,whatid,what.type,what.name,Subject,IsRecurrence,RecurrenceEndDateOnly  from Event where
whatid= :ApexPages.currentPage().getParameters().get('id') and what.type = '{!CustomObject__c}'   ]

I have tried this type of query also
[Select Id ,filed1__c ,field2__c,(Seelct Id,What.id,what.type from Events) from CustomObject__c where id=:ApexPages.currentPage().getParameters().get('id')]



Please help me out with this Query to relate both events and custom object__c

Thanks
I am writing a class that uses two objects Events and custom Object.

I am trying to relate events object with  Custom Object

How can I acheieve this??

Problem:
It is creating an event but not relating to that Custom Object
Hi,

OBjects:
1.EVENTS
2.CUSTOM_OBJECT__c

I am trying to write a soql query to relate Events Object And Custom Object.

Query I Have written:
ev = [select id,what.id,what.type,IsRecurrence,RecurrenceEndDateOnly  from Event where 
     WhatId = :pu.id
    AND What.Type = 'CUSTOM_OBJECT__c' ];

Problem:
It is creating event but not relating that event to that custom object.Pls help me with the query to relate this.

Correct me If i am writing the query in wrong way.

Thanks,
Hi,
Custom object : Pulse__C
Standard Object :Event

I wrote a visual force page with a custom controller to pull fields of both Event and Pulse__c.


Now I want to override standard Viewpage with my custom vf page .

Problem is i am not able override that because my vf page doesnt have any standard controller in it.....


is there any way to override it with custom controller??

Thanks
User-added image

I have a custom multi pick list field  Impacted departments.

I need to trigger an email to the departments selected in the picklist.


Problem:
I have written individual workflow with email alert to all values in the picklist,but I am getting an email only if i select that particular value.

If I  am selecting multiple values it is not triggering an email.

Pls help me out with this issue.

Thanks
Hi,
Custom object : Pulse__C
Standard Object :Event

I wrote a visual force page with a custom controller to pull fields of both Event and Pulse__c.


Now I want to override standard Viewpage with my custom vf page .

Problem is i am not able override that because my vf page doesnt have any standard controller in it.....


is there any way to override it with custom controller??

Thanks