Add Expiry Indicator functionality with configuration and command set
- Implemented ExpiryItemService to manage expiry date logic for list items. - Created ExpiryModels to define types and structures for expiry configurations and rules. - Added RestError utility for handling API response errors. - Developed ExpiryIndicatorFieldCustomizer to display expiry information in list views. - Introduced ExpiryIndicatorCommandSet for extending expiry dates and managing settings. - Added settings dialog for configuring expiry settings. - Implemented localization support for English and German languages. - Added TypeScript configuration files for project setup. - Included TSLint configuration for code quality enforcement.
This commit is contained in:
21
sharepoint/assets/elements.xml
Normal file
21
sharepoint/assets/elements.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
|
||||
<!-- ExpiryDate is intentionally not provisioned. It is supplied by the Content Type Hub. -->
|
||||
<CustomAction
|
||||
Title="ExpiryIndicator commands for lists"
|
||||
Name="ExpiryIndicator.CommandSet.Lists"
|
||||
RegistrationId="100"
|
||||
RegistrationType="List"
|
||||
Location="ClientSideExtension.ListViewCommandSet.CommandBar"
|
||||
ClientSideComponentId="cd58f5d9-ffc8-4df7-a910-3054842d7abf"
|
||||
ClientSideComponentProperties="{}" />
|
||||
<CustomAction
|
||||
Title="ExpiryIndicator commands for document libraries"
|
||||
Name="ExpiryIndicator.CommandSet.Libraries"
|
||||
RegistrationId="101"
|
||||
RegistrationType="List"
|
||||
Location="ClientSideExtension.ListViewCommandSet.CommandBar"
|
||||
ClientSideComponentId="cd58f5d9-ffc8-4df7-a910-3054842d7abf"
|
||||
ClientSideComponentProperties="{}" />
|
||||
</Elements>
|
||||
|
||||
Reference in New Issue
Block a user