SimpleContentPortlet attachments type

5 views
Skip to first unread message

Chris Beach

unread,
Aug 23, 2023, 12:43:39 PM8/23/23
to uPortal Community
Hello folks!

I have been working with the SimpleContentPortlet (SCP) https://github.com/uPortal-Project/SimpleContentPortlet/ , and found that the 'attachments' type seems to be outdated or possibly broken. When you add the portlet to a layout, it 'works' but effectively no content is displayed. From what I can tell from the code, it should have similar features to the 'attachments-manager' type.
  • Does anyone use the 'attachments' type in SCP?
  • Any concerns with removing the 'attachments' type from the SCP code base to help code cleanliness?
Thanks,
Chris

Ragusa, Steven M

unread,
Aug 23, 2023, 2:35:21 PM8/23/23
to Chris Beach, uPortal Community

Many years ago we used SCM attachment to upload files, such as CV and Syllabi, but we have different processes to accomplish now.

 

No concerns from us to remove the ‘attachments’ type.

 

Thanks,

Steven

 

 

 

From: uporta...@apereo.org <uporta...@apereo.org> on behalf of Chris Beach <cbe...@unicon.net>
Date: Wednesday, August 23, 2023 at 11:43 AM
To: uPortal Community <uporta...@apereo.org>
Subject: [uportal-user] SimpleContentPortlet attachments type

Hello folks! I have been working with the SimpleContentPortlet (SCP) https: //github. com/uPortal-Project/SimpleContentPortlet/ , and found that the 'attachments' type seems to be outdated or possibly broken. When you add the portlet to a layout,

ZjQcmQRYFpfptBannerStart

This Message Is From an External Sender

This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

--
You received this message because you are subscribed to the Google Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uportal-user...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-user/217ae862-94fa-460a-acf3-5e23749bcd6dn%40apereo.org.

Jonathan Tran

unread,
Aug 23, 2023, 5:31:53 PM8/23/23
to Chris Beach, uPortal Community
The Announcements portlet relies on the attachments portlet from SCP for its attachments functionality.

Julien Gribonvald

unread,
Aug 24, 2023, 3:34:50 AM8/24/23
to uporta...@apereo.org

Hi Chris,

I think it makes a long time that it doesn't work anymore. I remember that some peoples tested such case also (several years ago), you can replace the attachement part with the filemanager, there is an API on (but not generated since long time), so like that you can use a custom file system. More with some evolution on filemanager I think that we will be able to use OIDC and request to the user where to upload on. Having a UI + API to configure for several upload system and providing a choice to the user would be great also, but more complicated to built.

I my case we use our cloud system (Nextcloud with public link sharing), but we don't have a link on SCP, or we host files and also we paste the URL.

So I think, there are plenty of possibilities that doens't require attachements type, you can remove it. After these possibilities aren't much user friendly (as it doesn't permit upload/hosting from SCP) but it can suits, and maybe someone can contribute to a new way ?

Thanks

Julien Gribonvald

Chris Beach

unread,
Aug 24, 2023, 11:52:31 AM8/24/23
to uPortal Community
Thanks for the feedback folks.

Jonathan - Initial review is the Announcement Portlet uses SCP, but doesn't rely specifically on the attachments type, so we could likely make it work with just the attachments-manager type. I put a note in https://github.com/uPortal-Project/SimpleContentPortlet/issues/466 to ensure the dependency is tested prior to merging.
Reply all
Reply to author
Forward
0 new messages