• Kruvi
  • NEWBIE
  • 110 Points
  • Member since 2010

  • Chatter
    Feed
  • 2
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 43
    Questions
  • 65
    Replies

Hi all

 

I'm stuck with this and need some expert help.

I can't see the Custom objects, classes and triggers when trying to add them to a package.

It never happened before and I don't know what to do.

 

Please rescue 

 

Thanks

  • August 15, 2012
  • Like
  • 0

Hi 

 

I need help in retrieving the User/Company locale date format in Visualforce (or APEX).

For example: dd/mm/yyyy or mm/dd/yyyy

 

Thanks in advance :-)

  • July 05, 2012
  • Like
  • 0

Hi

 

I'n trying to populate a multi selectlist using innerHTML but I guess I'm not doing the right thing.

 

This is what I'm doing where result is an array of strings (String[])

 

 

document.getElementById("{!$Component.thePage:theform:mainBlock:resultsBlock:theResultSection:sel1}").innerHTML = result

 

Can anyone help with an example of how it should be done?

 

Many thanks

 

 

  • June 17, 2012
  • Like
  • 0

Hi

 

I'm really lost on this one.

I have an After Update trigger on Product, when I hit the activate/deactivate action link on a product in the Products search result list the checkbox is updated correctly BUT the trigger is not fired.

For testing purposes I implemented a button to do the same and when I use it to  activate/deactivate it works fine.

 

Any suggestion why this happens and how to solve it and get the triggered fired when I use the action link?

 

Much appreciated

 

 

  • June 06, 2012
  • Like
  • 0

Hi all

 

I'm looking for a way to create a trigger on a pricebook entry that will run some logic each time a Product's price changes.

The problem is that as far as I can see there is no why to write a trigger on procebook and procebookentry.

 

Am I correct in assuming this type of triggered is not possible?

 

Any advise what is the right way to make this work is appreciated.

 

Thanks

 

 

  • May 31, 2012
  • Like
  • 0

Hello

 

I've been trying to figure this out for a while but with no luck.

 

I'm trying to add my SF Site URL to an email template.

When I select the available Site merge fields and use them in the email, the actual email I receive comes with empty/blank text e.g.. the Site's fields are not merged into the email.

 

Does anyone know how to include the Site's URL in an email template?

 

Many thanks

 

 

  • May 17, 2012
  • Like
  • 0

Hi

 

I'm using the eclips IDE and I cannot find the template I just created.

Can I see the Visulforce Email Template file in the IDE?

 

 

Many thanks

 

 

  • May 03, 2012
  • Like
  • 0

Hi

 

I've added a custom Lookup field to Product but I see I cannot add a lookup filter.

Any idea why and how to workaround it?

 

Many thanks

 

 

  • April 26, 2012
  • Like
  • 0

Hi

 

I have a case where I would like to abort a scheduled APEX job.

Aborting should be performed from by a non admin user.

 

I'm getting an error saying "Insufficient Privileges" but I cannot find where to I assign the right privileges for this operation to succeed.

 

Any ideas?

 

Many thanks

 

 

  • April 16, 2012
  • Like
  • 0

Hi

 

I'm not sure how to do the following:

 

I want to Programmatically seach the debug logs to see if it contains some String I wrote for debugging.

I have many log files so I do not want to open each one but search Programmatically.

 

Can this be done?

 

I really need some help

 

Many thanks

 

 

  • April 11, 2012
  • Like
  • 0

Hi

 

I need to save the original JSON I'm getting in the REST POST call-in to later send it in a callout.

To do that I have a text field on the object I create which holds the JSON string.

 

The problem is that a backslash is added before each double quote, and the system that gets this JSON when I callout can't process it.

 

Does anyone know why isn't the JSON saved in its original format and how can I work around this?

 

Many Thanks

 

 

 

  • February 20, 2012
  • Like
  • 0

Hi I need so expert help...

 

I have an APEX REST POST method that is being called from an external system 'A'.

 

Processing this POST I need to callout to another external system 'B' and based on its response continue with my application logic, eventually returning the result to system 'A'.

 

The problem is that I'm getting an Error:  "System.CalloutException: Callout loop not allowed"

 

This is really important.

Any suggestion how can I achieve the flow I described?

 

Many thanks

 

Kruvi

  • February 15, 2012
  • Like
  • 0

Hello

 

I wrote an APEX REST service which excepts a RestRequest object as an input.

@HttpGet
global static Account doGet(RestRequest req, RestResponse res){
...
}

 

How do I test this method?

Do I need to create a RestRequest object to pass to the method?

If so how do I put the URI inside the RestRequest object?

 

Many thanks

 


  • February 09, 2012
  • Like
  • 0

Hi

 

Can I run System.Schedule every 1 sec or ever one min?

 

What is the right chron expression to do so. I tried   0 0 * * * ? *    but this runs every hour

 

Please help.

 

Thanks


  • January 22, 2012
  • Like
  • 0

Hi

 

I have this method:

 

@future(callout=true)
private static void doSend(HttpRequest req, sObject obj, String operationName)

 When I compile I'm getting this error:

Unsupported parameter type System.HttpRequest

and

Unsupported parameter type sObject

 

Can someone help me understand why and how I overcome it?

 

Many thanks

 

Kruvi



  • January 20, 2012
  • Like
  • 0

Hi

 

I'm wondering if it is possible to write a class that once a single instance is created it will be stored in memory, or the only way to achieve persistence between different execution threads is through the database?

 

Many thanks

 

Kruvi

  • January 12, 2012
  • Like
  • 0

Hi

 

I have this requirement and I need some expert advice.

 

I need to inform a 3rd party system with changes to my records (Create, Update and Delete) using a REST callout.

 

I have these constraints:

  • Inform on record updates only when specific fields have been changed (only these fields that the other system is interested in)
  • If the other system is not available, keep trying to inform it, or retry in predefined intervals

What is the best way to achieve this?

 

Does anyone know of a solution for this available out there or had implemented something like this before?

 

Thanks a lot

 

Kruvi

  • January 11, 2012
  • Like
  • 0

Hi

 

I'm stuck with Asset's record type and appreciate some help.

I was planning to add different record types to assets but then I noticed there is no such option.

 

Any ideas how to overcome this?

Is there any workaround?

Does someone know why Record Types are not possible for Assets?

 

Many thanks

 

Oded

  • November 20, 2011
  • Like
  • 1

Hi All

 

I'm trying to add a field of type Formula to a custom object and I'm getting the following error when I hit 'save' at the end of the new field wizard:

 



Validation Errors While Saving Record(s)

There were custom validation error(s) encountered while saving the affected record(s). The first validation error encountered was "Formula has no columnType". 

 

I can't find doumentation of this error.

Please does anyone know what does this error mean and what can be the cause of it?

 

Mant thanks

 

 

  • November 04, 2011
  • Like
  • 0

Hi

 

I would like to have a field in my ObjectA which will include a "list" of links to other object, something like this:

Record1, Record2, Record3

 

Can this be achieve with a text area of some kind or I have to write a VF page?

 

Many Thanks

 

Kruvi

 

 

  • September 20, 2011
  • Like
  • 0

Hi

 

I'm stuck with Asset's record type and appreciate some help.

I was planning to add different record types to assets but then I noticed there is no such option.

 

Any ideas how to overcome this?

Is there any workaround?

Does someone know why Record Types are not possible for Assets?

 

Many thanks

 

Oded

  • November 20, 2011
  • Like
  • 1

Hi 

 

I need help in retrieving the User/Company locale date format in Visualforce (or APEX).

For example: dd/mm/yyyy or mm/dd/yyyy

 

Thanks in advance :-)

  • July 05, 2012
  • Like
  • 0

Hi

 

I'n trying to populate a multi selectlist using innerHTML but I guess I'm not doing the right thing.

 

This is what I'm doing where result is an array of strings (String[])

 

 

document.getElementById("{!$Component.thePage:theform:mainBlock:resultsBlock:theResultSection:sel1}").innerHTML = result

 

Can anyone help with an example of how it should be done?

 

Many thanks

 

 

  • June 17, 2012
  • Like
  • 0

Hi

 

I'm really lost on this one.

I have an After Update trigger on Product, when I hit the activate/deactivate action link on a product in the Products search result list the checkbox is updated correctly BUT the trigger is not fired.

For testing purposes I implemented a button to do the same and when I use it to  activate/deactivate it works fine.

 

Any suggestion why this happens and how to solve it and get the triggered fired when I use the action link?

 

Much appreciated

 

 

  • June 06, 2012
  • Like
  • 0

Hi all

 

I'm looking for a way to create a trigger on a pricebook entry that will run some logic each time a Product's price changes.

The problem is that as far as I can see there is no why to write a trigger on procebook and procebookentry.

 

Am I correct in assuming this type of triggered is not possible?

 

Any advise what is the right way to make this work is appreciated.

 

Thanks

 

 

  • May 31, 2012
  • Like
  • 0

Hello

 

I've been trying to figure this out for a while but with no luck.

 

I'm trying to add my SF Site URL to an email template.

When I select the available Site merge fields and use them in the email, the actual email I receive comes with empty/blank text e.g.. the Site's fields are not merged into the email.

 

Does anyone know how to include the Site's URL in an email template?

 

Many thanks

 

 

  • May 17, 2012
  • Like
  • 0

Hi

 

I'm using the eclips IDE and I cannot find the template I just created.

Can I see the Visulforce Email Template file in the IDE?

 

 

Many thanks

 

 

  • May 03, 2012
  • Like
  • 0

Hi

 

I've added a custom Lookup field to Product but I see I cannot add a lookup filter.

Any idea why and how to workaround it?

 

Many thanks

 

 

  • April 26, 2012
  • Like
  • 0

Hi

 

I have a case where I would like to abort a scheduled APEX job.

Aborting should be performed from by a non admin user.

 

I'm getting an error saying "Insufficient Privileges" but I cannot find where to I assign the right privileges for this operation to succeed.

 

Any ideas?

 

Many thanks

 

 

  • April 16, 2012
  • Like
  • 0

Hi

 

I'm not sure how to do the following:

 

I want to Programmatically seach the debug logs to see if it contains some String I wrote for debugging.

I have many log files so I do not want to open each one but search Programmatically.

 

Can this be done?

 

I really need some help

 

Many thanks

 

 

  • April 11, 2012
  • Like
  • 0

Hi I need so expert help...

 

I have an APEX REST POST method that is being called from an external system 'A'.

 

Processing this POST I need to callout to another external system 'B' and based on its response continue with my application logic, eventually returning the result to system 'A'.

 

The problem is that I'm getting an Error:  "System.CalloutException: Callout loop not allowed"

 

This is really important.

Any suggestion how can I achieve the flow I described?

 

Many thanks

 

Kruvi

  • February 15, 2012
  • Like
  • 0