16
Views
2
Comments
Solved
[ObjectDiff] Attributes Blank in Return Result
objectdiff
Service icon
Forge asset by Stuart Harris
Application Type
Reactive

Hi all,

I am having trouble with the returning results being empty.

The log message shows that the Attributes are not populated but it picks up that a new record is added with 'IsNew' being true.

Where am I making a mistake? Being struggling for hours today to pinpoint this problem.

Thank you for looking.


Logging.oap
2024-11-07 03-28-42
Stuart Harris
Champion
Solution

Hi Andrew,

Thanks for a great description of the problem and attaching the oap.

I can see the issue is the wrong espaceid is passed in.

By passing in EntryEspaceId() it passed the EspaceId of the running application, instead of the EspaceId of the entity.  Instead use either GetOwnerEspaceIdentifier() or if there is no other entity with the same name in your subscription, you can just pass NullIdentifier().

There are some examples in the documentation if that helps.

Hope this helps!

Kind regards,

Stuart

2023-02-06 14-27-11
André Smit

Stuart, you are a legend! Thank you for making my day, keep up the hard work. Your Forge component is making my life so much easier.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.