Oracle MAF feature Constraints are not working with multiple constraint with same property - oracle-adf

I am using multiple <adfmf:constraint > with same property property="user.roles" but, the fature is not rendering if that user has any one role. If I am using only one <adfmf:constraint > it is working.
For reference, please see below code
<adfmf:constraints>
<adfmf:constraint operator="contains" value="role1" id="c10" property="user.roles"/>
<adfmf:constraint operator="contains" value="role2" id="c10" property="user.roles"/>
</adfmf:constraints>
If user has role1 only one role feature is not showing if we remove role2 it is showing.
Please suggest.

Related

Salesforce Email logging on custom object

could really use some serious help on this. Below is the current business case:
We have the standard accounts, contacts, and opportunities objects. We've also created a custom object, and let's call it 'Customers.'
As of now, 'customers' are related to accounts.
Our users have einstein activity capture on, so all the email interactions get logged to the 'Account' level that the contact is related to, which makes sense.
The problem is that I want those emails tracked on the 'Customer' activity feed too, not just the 'Account' or 'Contact' activity feed.
Will creating a junction object between contacts and customers allow this activity to be shown in the 'customer' field? Or is there a simpler way to do this? Thank you in advance as this is a major roadblock I am facing right now.
I haven't worked with Einstein Activity Capture yet. What does it save stuff as? EmailMessage? Task? Either allows adding custom fields so you could add lookup to your Customer__c. With Task it's even simpler, it has that mutant lookup thing, Customer should appear as available option if it has "Allow Activities" ticked in setup.
Assuming that gives you something - next step would be to maybe make a custom quick action with some fields prepopulated, maybe a trigger to go "up" to Account and then to Customer(s)... Because out of the box
https://help.salesforce.com/articleView?id=aac_limitations.htm&type=5
Custom objects aren’t supported. When emails are sent from a custom
object, the email is logged on the activity timeline of the associated
contact.
You can upvote an idea: https://trailblazer.salesforce.com/ideaView?id=0873A000000EAIiQAO

Salesforce "Record is not createable INSUFFICIENT_ACCESS" error

Hi,
I'm trying to create a lightning component to add records to the campaign object and I keepo getting an error message that I can't seem to find sufficient information on.
I'm using the lightning:recordEditForm component and because it automatically generates the picklist or input field based on the field data type and doesn't need a controller.
Here is the code I have written.
When I try to add the component to the appropriate page I get the error message shown in red.
Has anyone else solved a similar problem?
I'm inclined to believe it's a permissions issue but I'm not sure. If there's any more information I can give let me know.
I would really appreciate some assistance.
Thank you
Make Sure that your Profile has all necessary Object Permissions for Campaign Object.
For Campaigns: check if you have enabled "Marketing User" checkbox in the relevant User's profile.
This is one of annoying Salesforce Gotchas.
Check whether the user has access to create the record.
Try checking it in Profiles --> Campaign --> make sure Read, Create, Edit are checked (True)
Also make sure you have enabled Marketing User (Setup --> Users)

Missing updated property when using the delta query to track changes on users in Microsoft Graph API

I need to track changes in any property of any user but it is not working for all properties. Here is what I'm doing:
I query the list of users using that request:
https://graph.microsoft.com/v1.0/users/delta
I follow the link in #odata.nextLink then save the link in #odata.deltaLink.
I update the displayName property of a user in Office portal.
I follow the previously saved link. I can see the updated value of displayName among other basic properties of that user.
The problem is that if I do the same with the department property, the user is returned but the new department value is not included in the json.
In the documentation(https://developer.microsoft.com/en-us/graph/docs/concepts/delta_query_overview), it is said:
Updated instances are represented by their id with at least the
properties that have been updated, but additional properties may be
included.
which is not the case here.
I have also tested the jobTitle property which is not working at all, meaning that if I change its value, the delta link does not show any change at all. I suppose it is the same for many other properties..
Is there something I'm doing wrong?
I am able also to reproduce this issue. And event I specify select to display the department property, it still doesn't show in the changing result.
Based on the test, it seems that this property doesn't including in the track changes. If you have any idea or feedback about this REST, you can submit it from this link.

Not getting values to LOV after Execution

I am Facing problem with Lov, I am having three lov fields in the page which are defined on other viewObjects than current page viewObject. iam successfully able to bind them to the page i.e getting values by clicking the icon.
but the problem is while executing i am not getting any values for these fields, i tried to override createInstanceFromResultSet() method in viewImpl class where iam getting ids and setting values, for example by using appid in current row of Vo, iam setting appName, with out success. iam very new to ADF, any solutions. my jdevelper version is oracle 11g release2
Actually my functionality is similar to POST-QUERY trigger in oracle forms, where you set the values based on id.
Anybody has any guesses please share.
The Best way i found out is From "Oracle® Fusion Middleware Fusion Developer's Guide for Oracle Application Development Framework Release1 is To have your View object based on multiple Entity Objects, joining in all the information you need in the query from the main table, as well as any auxiliary/lookup-value tables. so in one trip you can bring all the values from the database.
I believe the way that you did bind these LOVs are wrong, follow this blog post https://blogs.oracle.com/prajkumar/entry/create_lov_in_adf_application it'll give you a heads up about the proper way to make LOVs
If you can't get LOV value after execution in ADF, then please check both data types you defined on ViewObject and to those fields, apply Lov. If the data type of both the fields is different, then the submitted value is refresh and Lov field is showing blank.

Show related users on user page

On the user page (/user/20 for example) I want to display a view with some related users. Each user has a field of type entity reference that points to a user. The users are related if they point to the same user.
I tried to do this using the Entity Views Attach module, but didn't succeed (although I think it should be possible using it).
Could someone give me some advice on how I could do this?
I would create an block (or eva) view using contextual filters with your reference field that takes the uid from the url (or node's author) as parent.
maybe this other post can help
PR

Resources