diff --git a/force-app/main/default/lwc/microchipLookup/microchipLookup.js-meta.xml b/force-app/main/default/lwc/microchipLookup/microchipLookup.js-meta.xml
index c38e18c4..9f444c37 100644
--- a/force-app/main/default/lwc/microchipLookup/microchipLookup.js-meta.xml
+++ b/force-app/main/default/lwc/microchipLookup/microchipLookup.js-meta.xml
@@ -12,6 +12,10 @@
+
+
+
+
diff --git a/force-app/main/default/lwc/recordAlerts/recordAlerts.js-meta.xml b/force-app/main/default/lwc/recordAlerts/recordAlerts.js-meta.xml
index 08819b3d..58e72f8b 100644
--- a/force-app/main/default/lwc/recordAlerts/recordAlerts.js-meta.xml
+++ b/force-app/main/default/lwc/recordAlerts/recordAlerts.js-meta.xml
@@ -13,6 +13,10 @@
+
+
+
+
diff --git a/force-app/main/default/lwc/recordImage/recordImage.html b/force-app/main/default/lwc/recordImage/recordImage.html
index a3f3496f..d6323719 100644
--- a/force-app/main/default/lwc/recordImage/recordImage.html
+++ b/force-app/main/default/lwc/recordImage/recordImage.html
@@ -1,3 +1,10 @@
+
@@ -10,8 +17,9 @@
-
+
-
\ No newline at end of file
+
diff --git a/force-app/main/default/lwc/recordImage/recordImage.js b/force-app/main/default/lwc/recordImage/recordImage.js
index 1703f6d2..71825059 100644
--- a/force-app/main/default/lwc/recordImage/recordImage.js
+++ b/force-app/main/default/lwc/recordImage/recordImage.js
@@ -2,7 +2,7 @@
* @description :
* @author : Stewart Anderson
* @group :
- * @last modified on : 12-15-2023
+ * @last modified on : 02-19-2024
* @last modified by : Stewart Anderson
**/
import { LightningElement, wire, api } from 'lwc';
@@ -77,7 +77,7 @@ export default class recordImage extends LightningElement {
// Set Accepted Photo Formats
get acceptedFormats() {
- return ['.png','.jpg','.jpeg'];
+ return ['.png', '.jpg', '.jpeg', '.webp', '.heic', '.heif', '.avif', '.bmp', '.gif'];
}
// Handle a Completed Upload of the Photo
@@ -85,7 +85,7 @@ export default class recordImage extends LightningElement {
const uploadedFiles = event.detail.files;
this.photoId = uploadedFiles[0].contentVersionId;
this.updateRecord(this.photoId);
- this.photoURL = '/sfc/servlet.shepherd/version/download/' + this.photoId;
+ this.photoURL = '/sfc/servlet.shepherd/version/download/' + this.photoId;
}
// Update the PhotoId Field on the Record
@@ -103,23 +103,23 @@ export default class recordImage extends LightningElement {
const recordInput = { fields };
updateRecord(recordInput)
- .then(() => {
- if (this.objectApiName == 'Contact') {
- return refreshApex(this.Contact);
- }
- if (this.objectApiName == 'animalshelters__Animal__c') {
- return refreshApex(this.animalshelters__Animal__c);
- }
+ .then(() => {
+ if (this.objectApiName == 'Contact') {
+ return refreshApex(this.Contact);
+ }
+ if (this.objectApiName == 'animalshelters__Animal__c') {
+ return refreshApex(this.animalshelters__Animal__c);
+ }
- })
- .catch(error => {
- this.dispatchEvent(
- new ShowToastEvent({
- title: 'Error Uploading Photo',
- message: error.body.message,
- variant: 'error'
- })
- );
- });
+ })
+ .catch(error => {
+ this.dispatchEvent(
+ new ShowToastEvent({
+ title: 'Error Uploading Photo',
+ message: error.body.message,
+ variant: 'error'
+ })
+ );
+ });
}
-}
\ No newline at end of file
+}
diff --git a/force-app/main/default/lwc/recordImage/recordImage.js-meta.xml b/force-app/main/default/lwc/recordImage/recordImage.js-meta.xml
index d4ee747c..42077baa 100644
--- a/force-app/main/default/lwc/recordImage/recordImage.js-meta.xml
+++ b/force-app/main/default/lwc/recordImage/recordImage.js-meta.xml
@@ -14,6 +14,10 @@
+
+
+
+
View
Action override updated by Lightning App Builder during activation.
- Animal_Record_Page1
+ Animal_Record_Page
Small
false
Flexipage
@@ -174,8 +174,8 @@
Species__c
Animal_Status__c
OpenListInQuip
- Accept
NewFromDocument
+ Accept
Animal_Name__c
TypeFromBreeds__c
Species__c
diff --git a/force-app/main/default/objects/Animal__c/webLinks/Print_Cage_Card.webLink-meta.xml b/force-app/main/default/objects/Animal__c/webLinks/Print_Cage_Card.webLink-meta.xml
index 501c7f45..663ba29a 100644
--- a/force-app/main/default/objects/Animal__c/webLinks/Print_Cage_Card.webLink-meta.xml
+++ b/force-app/main/default/objects/Animal__c/webLinks/Print_Cage_Card.webLink-meta.xml
@@ -19,6 +19,5 @@
false
false
false
-
- /animalshelters/lightningPrintViewApp.app?recordid={!animalshelters__Animal__c.Id}&fieldSetName=animalshelters__Animal_Cage_Card_Field_Set&sObjectTypeName=animalshelters__Animal__c&badgefields=animalshelters__Behaviours__c
+ /animalshelters/lightningPrintViewApp.app?recordid={!Animal__c.Id}&fieldSetName=animalshelters__Animal_Cage_Card_Field_Set&sObjectTypeName=animalshelters__Animal__c&badgefields=animalshelters__Behaviours__c