RDN-19
1

Add a new Document Type

Scott on 5/1/2015 5:42 PM

Scott on 12/21/2015 2:20 AM

%
(hrs)
Logged

0 (hrs)


 Description

We need to add a new document type to our documents.

Mime Type Not Found: .gform

Please find a new icon for it if possible and then add it to the documents section.

Skip Navigation Links
 

Arpit Saturday, November 28, 2015 10:46 AM #

I have already added code in LeagueDocument.GetDocumentMimeType function. I dont have any .gform file to test it. 

 

Scott Friday, November 27, 2015 4:54 AM #

how are you doing on this update?

 

Scott Thursday, October 15, 2015 8:55 PM #

So you can't view the documents page?

Try going to League > Members > Groups.

Can you see that page?

 

Arpit Tuesday, October 13, 2015 3:22 AM #

Connection string is correct and I am the Legaue only. I am choosing "Switch to 123" from the menu. and then going to the document page and getting the same error as I mentioned below.

 

Scott Monday, October 05, 2015 1:42 AM #

Please check your connection strings.

Please check if your actually in a league.  Use the Account > Switch To League menu...

 

Arpit Friday, October 02, 2015 1:51 PM #

Was something got changed recently?

 

Arpit Friday, October 02, 2015 1:50 PM #

Currently while opening Documents page I am getting error in below code

 var memId = RDN.Library.Classes.Account.User.GetMemberId();
 var repo = DocumentRepository.GetLeagueDocumentRepository(leagueId, memId, folderId, groupId);
 repo.GroupsApartOf = MemberCache.GetGroupsApartOf(memId); ===> {"Object reference not set to an instance of an object."}

 

 

 

Scott Wednesday, August 12, 2015 8:53 PM #

the icon isn't showing up for a test document I uploaded.

Can you please review LeagueDocument.GetDocumentMimeType and update that method.  Then test the document icon your self by uploading a fake .gform doc.

 

Arpit Monday, August 10, 2015 9:22 PM #

Yes added a seperate Case for it

 case MimeType.gform:
     <span class="fa-stack">
         <i class="fa fa-file-o fa-stack-2x font19 width-initial"></i>
         <i class="fa fa-google fa-stack-1x font11 margin-left-3 width-initial"></i>
    </span>
    break;

 

Scott Friday, August 07, 2015 8:39 PM #

I don't see an icon for this file.  Is there one?


Powered by BugNET 1.6.339.0