• Ashwin Kc
  • NEWBIE
  • 0 Points
  • Member since 2015

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

I have scnerio where I need to capture IP address of current User in Lightning Community, is any way standard way  where I can capture IP address inside Lightning Components.
I have seen third party tools like - https://www.ipify.org/ to get Ip address 
Any recommendations are appreciated 

Thanks 
I am using Lightning component to build grid view to create,edit and delete case team member.
I am using custom component - inputLookup (https://developer.salesforce.com/blogs/developer-relations/2015/06/salesforce-lightning-inputlookup-missing-component.html) to show the look up fields in the view.
component inputLookup is not working as excpected inside aura:iteration, it is giving lookup values but not able to search values.
Is any other approach to use input lookup fields in aura:iteration
Below are my screen shots
with one record
User-added image

Inside aura iteration
User-added image
Appreciate if any one can help me to sort issue

Thanks
Hi 

I have scnerio where I need to capture IP address of current User in Lightning Community, is any way standard way  where I can capture IP address inside Lightning Components.
I have seen third party tools like - https://www.ipify.org/ to get Ip address 
Any recommendations are appreciated 

Thanks 
My problem is getting code line test on the callback(Object state) class for the continuation using @RemoteAction. There are a lot of test class example on callback(), but none on callback(Object state), and I can’t figure out how to pass the State object in the class for continuation.

When I use Test.setContinuationResponse and Test.invokeContinuationMethod to test @RemoteAction
public static Object callService(), the apex compiler is reporting an error 'System.TypeException: No method 'callback()' on provided controller type.' it looks like system can't realize the 'public static Object callback(Object state)', which has a parameter Object state. in order to verify this, I try to add a new 'public static Object callback() in controller, yes, compiling pass. however I really want to callback(Object state) instead of callback(), so my quesstion is, How to set ContinuationMethod so that compile can realize the public static callback with parameter 'Object state'?

Thanks