Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lead Agency Read-only Form #133

Open
2 of 3 tasks
stdavis opened this issue Oct 15, 2024 · 1 comment
Open
2 of 3 tasks

Lead Agency Read-only Form #133

stdavis opened this issue Oct 15, 2024 · 1 comment

Comments

@stdavis
Copy link
Member

stdavis commented Oct 15, 2024

We need to make sure that the read-only view of the Salesforce widget works and looks as expected. This is on the "Lead Agency" form. We need to ask for access to be able to test this.

Image

This could be a use-case for the public map

Tasks

  • Ask for access to the Lead Agency form to test in the sandbox.
  • Figure out a SF hook that allows us to know when the widget is in read-only mode
  • Switch the UI to be read only
@stdavis stdavis converted this from a draft issue Oct 15, 2024
@stdavis
Copy link
Member Author

stdavis commented Jan 21, 2025

Figure out a SF hook that allows us to know when the widget is in read-only mode

Barry suggested that we create a boolean input parameter for setting the widget as read-only.

Some example code that he sent us:

<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>59.0</apiVersion>
    <isExposed>true</isExposed>
    <targets>
        <target>lightning__RecordPage</target>
        <target>lightningCommunity__Page</target>
        <target>lightningCommunity__Default</target>
    </targets>
    <targetConfigs>
        <targetConfig targets="lightningCommunity__Default">
      <property name="recordId" type="String" label="Record">
    <targetConfigs>
      <targetConfig targets="lightningCommunity__Default">
    <property name="recordId" type="String" label="Record ID" description="Should be set to {!recordId}"/>
</targetConfig>
    </targetConfigs>
</LightningComponentBundle>

Ask for access to the Lead Agency form to test in the sandbox.

Log in as user: "Nathan Hall"
https://utahdeqorg--eid.sandbox.my.site.com/DEQ1/s/case/5003R0000050hy1QAA/detail

Image

Use the “DEQ EID Portal Authorized Users”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant