How to publish an Office 365 MS Outlook Addin - outlook-addin

I have published v1 of my Office 365 Outlook AddIn a few months ago via seller dashboard.
Now, I need to publish an update. The old version is hosted on a server and placed in some directory:
/AddInV1/
New Addin I have placed like this -
/AddInV2/
So, now while EDIT in Seller dashboard - Do I need to replace code in same folder or I just need to refer the manifest from 2nd folder?
The goal is that once second is published - must show as an UPDATE available to the existing Users.
Thanks in advance,
Kanak

If your update doesn’t require any manifest changes then you can just update the code in your site at the current url. You only need to resubmit if you need to update your manifest, in which case you submit a new manifest and it can point wherever you want.

Related

Prestashop 1.7 problem to access backoffice

when I m trying to access my back office I get this message
For security reasons, you cannot connect to the back office until you have:
deleted the /install folder
Please then access this page by the new URL (e.g. http://localhost/prestashop/backoffice/)
You need to physically remove/delete `/install' folder from your installation.

Writing to the event log without admin

I am admin on my local machine. However the app I am creating (an outlook VSTO addin) will be deployed by a deployment admin to users who won't have admin.
The app installs correctly.
My issue is that I have code which checks if an EventLog.SourceExists("my VSTO addin"). If not it will EventLog.CreateEventSource("my VSTO addin").
My questions:
Do I really need to create an event source? Will it still log without the source existing?
How should I create the event source (if #1 is required)?
2a Perhaps I need to create a small app which creates the event source and this needs to be installed by an admin?
2b Perhaps I can put it in the code somewhere which will invoke when its being installed? (I'm using install shield)
2c Perhaps it can be done by an admin as part of group policy?
2d I can create a registry key as per https://learn.microsoft.com/en-us/windows/desktop/EventLog/event-sources
To answer my questions:
I do need create the source.
To solve this I created another console app which just creates the event log sources I require.
In installshield I added this new exe as a custom action. The install is done with Admin mode so the sources are created.
This fixes the application because non admins were using the app and it was trying to create the event log sources if they didn't exist. I removed this check.

sharepoint 2010 files in database but not in site

I'm new at sharepoint and having and issue in an existing site, users are asking a link that appears to be there but is not any more, so looking in database table AllDocs and filtering by DirName I see the files in database but in sharepoint site does not exists so how can I fix this so it shows in the web site?
Thanks
This is the solution I implemented if someone have a similar issue some time: I wrote a program that extract the files I needed from Content database (AllDocs and AllDocStreams tables) and save it to my computer, after that I uploaded the files again to sharepoint.

Fixed header Row in Sharepoint2010 List and deployment

Hei
I want to fix the header columns of sharepoint list in administration interface by following link
https://sharepoint.stackexchange.com/questions/26041/freeze-header-row-and-first-columns-in-a-list
I intend to add above "hack" in v4.master. so we can overwrite v4.master during deployment? but the problem is we cannot overwrite v4.master then this can be updated by Microsoft when a new service pack is installed. Can anyone have tips how can we achieve this and deploy too .

SharePoint 2010 Foundation site Read permission list item contribute permission not working

I've upgraded a SharePoint WSS 3.0 farm to SharePoint 2010 Foundation.
Now I got a strange problem in a web part that modifies and creates Content Library files.
The user is only allowed to modify a file if he also got Contribute/Full access on site level (might be enough to have these permission on List/Library but I haven't tried). The user already got contribute permissions on the parent folder and on the file (inherits).
Another problem on the same site but on a different Library. All users on the site can read all files in this Library but when i try to copy a file from one list to another using the following code i get access denied when OpenBinaryStream is executed.
SPFile newFile = SPContext.Current.Web.Lists["ToLibrary"].RootFolder.Files.Add(folder + "/default.aspx", oldFile.OpenBinaryStream());
Both the problems only occurs on the upgraded farm and works fine on the WSS 3.0 farm.
Does anyone have any idea what's going on?
I had a similar issue which turned out to be a setting for lists/libraries. In the Advanced Settings for a list/library, there is a section labeled "Item-Level Permissions" - this setting can be used to deny access for anyone without Full Control rights to the item. Unless there is a specific need, Read Access should be set to Read all items and Create and Edit access should be set to Create and edit all items.
I had the same issue and resolved it by going to Site Settings > Edit Permission Level > and giving the 'Contribute' permission level the ability to 'Open Items - View the source of documents with server-side file handlers'