Sharing customization files on SharePoint

Sharing customization files on SharePoint

jbernal
Contributor Contributor
766 Views
3 Replies
Message 1 of 4

Sharing customization files on SharePoint

jbernal
Contributor
Contributor

For years I have used a network location to share my customizations with my office then once Covid hit, I had to make these customizations local for each user as they are not always connected to the server when they are not in the office. It is a bit of a pain to update each user so I have been working on trying to find a way via SharePoint. I chose to use this option cause now our company has expanded and the new IT group has stated that we need to move onto SharePoint now and then later we will be on ProjectWise (issue for another day).

 

My question is, I am not sure if there is a way to control where the folders/files sync. The file paths in the tool palettes is fixed so I must point the directory in a specific location. I have tested uploading files to SharePoint then syncing it to my computer however it is pointing to my user folder...so I have a path but this will only be for my machine/my user name, is there a way to put in a wild card to let the software fill in that blank? Or is there a way that I can make the location that SharePoint save to that will work for all users who log into that machine (kind of like I have now).

 

The 2 images I have attached to this post are showing the XML in the tool palettes and the other is where SharePoint made the folder on my local drive.

0 Likes
Accepted solutions (1)
767 Views
3 Replies
Replies (3)
Message 2 of 4

ronjonp
Advisor
Advisor
Accepted solution

Look into %USERPROFILE%.

If you're using lisp to set these it's something like so:

 

(alert (strcat (getenv "userprofile") "\\KOA Corporation\\..."))

 

 

I use a simple batch file and XCOPY to keep my computers up to date with misc tools.

 

 

Title RJP Network Updater %date:~10,4%-%date:~4,2%-%date:~7,2%
@echo -------------------------------------------------------
@echo ***BE PATIENT ;)= WINDOW WILL CLOSE WHEN FINISHED***
@echo -------------------------------------------------------

::Set source paths
set PATH1= "R:\_Shared\_RJPCode
xcopy  %PATH1%\Menu\*.*" "%userprofile%\Documents\AutoCAD Tools\" /R/S/I/Y/K/D/Q

 

 

Message 3 of 4

jbernal
Contributor
Contributor

Thanks! I am working on a version of this with our IT group, I don't write those scripts much but seems like this is the fix for my issue. After some testing, I can report the findings back and let you know how it went.

0 Likes
Message 4 of 4

ronjonp
Advisor
Advisor

@jbernal wrote:

Thanks! I am working on a version of this with our IT group, I don't write those scripts much but seems like this is the fix for my issue. After some testing, I can report the findings back and let you know how it went.


👍

0 Likes