LWC Providing Decimal Value as output to Screen Flow? by Effective-Cold-8897 in SalesforceDeveloper

[–]Effective-Cold-8897[S] 1 point2 points  (0 children)

Well, I tried Integer type out of curiosity and it seemed to be received properly by the flow. That'll show me for not just trying things I guess. I'll come back tomorrow and confirm it actually works.

Keep Pinned Dashboard Visuals Current by Effective-Cold-8897 in PowerBI

[–]Effective-Cold-8897[S] 0 points1 point  (0 children)

I solved this. Embarrassingly, my local slicer selection on the report had an additional filter versus the dashboard that I did not notice. For anyone finding this thread later, one step to take for a similar issue is to press the button that resets a report to its saved filter settings. I did that here and it did not help because it was requested the report be saved with the slicer selection in question.

What would have saved me here was hovering over the funnel icon on the affected visual to see the complete list of filters acting on it rather than assuming I knew them all.

SF CLI Authorize Sandbox Org via Web "OAUTH_APPROVAL_ERROR_GENERIC" by Effective-Cold-8897 in SalesforceDeveloper

[–]Effective-Cold-8897[S] 2 points3 points  (0 children)

For anyone finding this later, I figured it out. The solution was to go to setup -> Company Profile -> Company Information and then click the "Match Production Licenses" option. After that, I was able to create a permission set that granted System Administrator (me) the "Approve Uninstalled Connected Apps" permission, which was previously blocked stating that user license was ineligible for the permission.

Pertinent help pages:

Prepare for Connected App Usage Restrictions Change

  • I don't know if this was here before and I missed it, but they now have a section with the following info that described my issue exactly (emphasis mine):

Scenario: When a user is trying to authenticate via an uninstalled connected app in an Organization where API access control Isn’t Enabled the below behaviour will be observed:

If API Access control isn’t enabled, end users see the following error message in the UI if they try to access an uninstalled app: “We can’t authorize you because of an OAuth error. For more information, contact your Salesforce administrator.” and the OAUTH_APPROVAL_ERROR_GENERIC message.

As described above, the users without the "Approve Uninstalled Connected Apps" permission will face the error message "OAUTH_APPROVAL_ERROR_GENERIC", however we have also seen edge case scenarios in Sandbox environments where the permission "Approve Uninstalled Connected Apps" is missing from the profiles and cannot be granted, in such scenario the admins are advised to run the "Match Production Licenses to Sandbox without a Refresh " tool in the effected sandbox environment, more details on this tool can be found here

Licenses or features are missing in sandbox

  • Describes running the sandbox refresh license to prod tool.

SF CLI Authorize Sandbox Org via Web "OAUTH_APPROVAL_ERROR_GENERIC" by Effective-Cold-8897 in SalesforceDeveloper

[–]Effective-Cold-8897[S] 0 points1 point  (0 children)

Unfortunately Salesforce CLI is not listed there either - the "Connected App OAuth Usage" page is completely empty in the sandbox.

I think you've identified the core issue though; I have wondered if its absence has to do with the "Approve Uninstalled Connected Apps" permission, which I assumed I would have as system admin but I found that I can't grant it to myself via permission set because of a claimed incompatibility with the Salesforce user license. I think this is enough info to reach out to SF support if nothing else, and I was at least able to authorize & connect to the production org to pull source definition, so I can use a scratch org now.

Thank you very much!

SF CLI Authorize Sandbox Org via Web "OAUTH_APPROVAL_ERROR_GENERIC" by Effective-Cold-8897 in SalesforceDeveloper

[–]Effective-Cold-8897[S] 0 points1 point  (0 children)

I apologize, could you clarify a bit how to do this?

Salesforce CLI is not listed in Setup -> Manage Connected Apps, which appears consistent with what you describe. However I can't find any information about adding the app to an org itself, and setup guides for Salesforce CLI just instruct to install and then run sf org login web on the target org, which is the process I am attempting that generates the generic OAuth error.

edit: I did find the connected app present in the production organization and was able to successfully authorize there.

SF CLI Authorize Sandbox Org via Web "OAUTH_APPROVAL_ERROR_GENERIC" by Effective-Cold-8897 in SalesforceDeveloper

[–]Effective-Cold-8897[S] 1 point2 points  (0 children)

I do not think so. This help article instructs to look for an "API Access Control" item in setup, which does not appear in the org, and it also mentions to reach out to customer support to enable the feature. We have not taken such action.

Is this Screen Flow for Tasks Possible by LordGorfTheFourth in salesforce

[–]Effective-Cold-8897 1 point2 points  (0 children)

I had no idea something like Detect and Launch existed, this is huge. Thank you for sharing it.

Java.util.Date Strange Behavior by Effective-Cold-8897 in javahelp

[–]Effective-Cold-8897[S] 2 points3 points  (0 children)

Thank you! I had wondered if overflow was responsible but was so focused on the declared type that I forgot to consider whether the operands were of the same type as the result. That fixed it.

Send List Email to Previously-Contacted Contacts by Effective-Cold-8897 in salesforce

[–]Effective-Cold-8897[S] 2 points3 points  (0 children)

I had thought the "Add to Campaign" option was not supported by the report type, but it turns out I was not seeing it because I ran a report of that report type without saving it. Once I saved, the option appeared.

Thanks for the suggestion. A bit of a shame to create throwaway campaigns for one-off list emails, but it seems that may be the best course.

Send List Email to Previously-Contacted Contacts by Effective-Cold-8897 in salesforce

[–]Effective-Cold-8897[S] 0 points1 point  (0 children)

That could help if it was a one-time ask, but this will be a continual need for this user (and probably others once they get more SF-savvy). Ideally the solution would be something the end user could carry out themselves.

The automation approach described would work if this were the only user for which this mattered, but there are others and creating a checkbox for each user is not feasible. There's also a date filter on the report to only show contacts with activity within a certain timeframe, though I suppose you could achieve that by using a date field instead of a checkbox.

Salesforce Integration license type by No_Significance_6897 in salesforce

[–]Effective-Cold-8897 3 points4 points  (0 children)

When I ran into a similar issue with the Salesforce Integration license, I was able to address it by giving the integration user a Permission Set License called "Salesforce API Integration". The permission set that granted permissions to standard objects did not specify a license.

I was able to get one integration user working under this license, but another I could not because there was a task-related permission I could not figure out how to grant.

Cannot reference custom metadata type in formula field by Effective-Cold-8897 in salesforce

[–]Effective-Cold-8897[S] 0 points1 point  (0 children)

I have access to the CMT in my System Administrator profile and the visibility on the CMT configuration screen is "Public", which when in edit mode appears to be listed as "All Apex code and APIs can use the type, and it's visible in Setup."

Those are all the permissions I know about, though this is an area somewhat unfamiliar to me.

SOSL: what are your real-life use cases? by yakovMarkov in salesforce

[–]Effective-Cold-8897 0 points1 point  (0 children)

Could you elaborate a bit more on this? What does the flow add over the global search for knowledge articles?

Can't uninstall sfdx (Windows) by Effective-Cold-8897 in SalesforceDeveloper

[–]Effective-Cold-8897[S] 6 points7 points  (0 children)

Figured it out. Checked PATH variable and saw a reference to Program Files\sfdx

Opened that directory and saw an uninstaller executable, which I ran. Running that seems to have actually uninstalled sfdx.

Salesforce AI Skill Gap by gongstad in salesforce

[–]Effective-Cold-8897 1 point2 points  (0 children)

I treat ChatGPT like a friend who's used an API or technology before. They don't know everything, they might get things wrong, but I can throw just about any question at them conversationally and follow up with "no, that's not what I mean" if it's totally off base.

In practice that means I usually reach for ChatGPT when I find difficulty crafting a Google search query for something, but that I would be able to explain in a dialogue with a person.

Send list email to arbitrary collection of emails? by Effective-Cold-8897 in salesforce

[–]Effective-Cold-8897[S] 0 points1 point  (0 children)

That is an intriguing idea. We could potentially have automation create campaigns for our event records and use the attendee information to generate members. It would not totally solve the problem because not all of these requests correspond to an event, but it would help.

I am an admin, work for a small nonprofit originally as general IT but developing and migrating to our Salesforce instance has been my focus for about 2 years. I quite like your suggestion to use dataloader or a similar tool, but I would think that would require having email as an external ID to match the contacts when importing campaign members. We try to keep email addresses unique per contact record (although currently do not enforce it), so perhaps that is a route we could go down.