• J Bayles
  • NEWBIE
  • 0 Points
  • Member since 2021

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

To start with I was only able to get the captchav2 to render at all with an iframe in a LWC. (we have a redirect that I didn't want to subvert and the script won't load another another way). 

This being the case I've been able to get the message to bubble up from the static resource that is referenced by the LWC. However, I can't seem to pass one from the LWC up to the parent Aura component it is nested it. 

First I tried using a standard method of "dispatching" events, which seemed like the obvious solution, but it never handles the event.

I've tried using LMS, but have ran into the limit of not being able to listen with an Aura Compent, unless I did that wrong. 

Lastly I tried using pub/sub, but having the same issue as the first; event doesn't seem to bubble up. 

Was wondering if anyone else had issues with this or I'm going to have to take this back to refactor our redirect?

Thanks!

A server was identified with an insecure CORS configuration. For any domain name host in a request's Origin header, the server responds with an Access-Control-Allow-Origin header containing a wildcard character (*).

Recommendation:
Allow only trusted domains in the Access-Control-Allow-Origin header. Whitelisting domains is preferred over blacklisting or allowing any domain.

 

Are there any other suggestions?

Verify Image selection pop up size issue in form through vf page embedded in LWC/Lightning User-added image
We need to pull data from multiple objects that are related at different levels through master detail relationships for a sync with an external system. The top is the Contact object. In each case we want to pull data when anything in any of the related objects has been updated since the last sync (which we keep track of in a separate log object). 

Here is the list of relationships (Master -< Detail):
Contact -< Application -< Student Term -< Student Term Payment
Contact -< Application -< Appeal
Contact -< FAFSA Detail

My solution right now is to query each separately and present them in a set of lists that can be stitched together with their foreign keys. No processing needs to be done as a single object so this seems the most efficient (only pull the data that was modified, leave other related objects' data alone if it hasn't been changed) and the easiest. 

I am curious though - could this be done as a single query? I don't see how it could be, even if you started with Student Term as base because as far as I understand you can't go up one level Detail to Master then back down from the Master to a different Detail object. If there is a way to do this though I'd love to hear.

Alternately, is there a way to create something like an SQL View form that would encapsulate all these queries into a single queryable object? Like creating a multi-object report and then running it remotely through Apex and gathering the results for use?