How do I change my Workspace name in P4v? - perforce

I have a Workspace that I would like to rename in P4V.
So far, I have tried doing so by navigating to Connection -> Edit Current Workspace. However, the 'Workspace name' field is not editable.
Does anyone know if it is possible to do this?

As documented on perforce documentation client (workspace) name is field read-only, so it is not editable.
You can still copy that workspace and name it differently.
To do so open Workspaces tab (View > Workspaces) and search for your workspace on the list. Right-click on it and select "Create new workspace from 'XXX'..."

Related

Azure Active Directory Company Branding - Can't Edit

I've configured Company Branding (Images, Text, etc.) using Azure Active Directory > Company branding > Configure, and works fine.
However, I can't find any way to actually go back and edit the branding (update/delete), etc.
When I go into Company branding now, it just shows a record with LOCALE as Default, and no edit button. And the Delete button is grayed out.
How can I either remove the branding I applied, or edit it (Ideally) to use different images, etc.
Thanks in advance.
When I go into Company branding now, it just shows a record with
LOCALE as Default, and no edit button. And the Delete button is grayed
out.
After you finish configuring, by default, the Delete button is grayed out. But if you want to change the image, you can click the Remove button and then you can update the new.
If your situation is different, please post your screenshot here.

How can I write a custom query in Active Directory Exlorer?

I have downloaded Microsoft's Active Directory Explorer (AD Explorer).
I have connected successfully to Active Directory and I can search successfully users.
I want to perform a custom search without using the panel provided. Do you know a way to do this? I tried building the search I want from the search panel but with no success.
AD explorer doesn't offer this by the looks of it, however the standard 'Active Directory Users and Computers' snap-in does. Here's how:
Open Active Directory users and computers (dsa.msc)
Create new query under "Saved Queries"
Choose Define Query > Find "Custom Search" > Advanced Tab
Enter LDAP Query > Paste ADExplorer query string
Save query
(Inspired by https://forum.sysinternals.com/active-directory-explorer_topic22035.html)

Visual Studio 2012 TFS Checked out by someone else or in another place

TFS 2012 Checked out by someone else or in another place.
Is there a way to see by who this change is checkout?
I know, because the source code has not been published to the server yet, there's no way to fetch the changes made by that person. Aldo is there no way to get to know who is working on it?
Yes, i can ask arround in the team who is, but we have several teams in different offices.
So its not that obvious...
Yes, there are multiple ways to see who has a file checked out. The mentioned TFS Power tools are one way. Another is to use the commandline tools:
tf status $/TeamProject/Path/To/File.ext
You can use TFS Power Tools (Visual Studio Add-in) and do a search "by Status"
That will show you which items are checked-out, by who and in which workspace.
I found a work-around to get this information, though this procedure may not always be possible. The check-out log shows the list of users who have the file/files checked out.
Right-click on a file/folder and choose Check Out for Edit. In the Output window (if not visible, go to View > Output), you should see something like this:
$/Dev/SharePoint/Finance.Sandbox/Resources/GlobalResources.resx:
opened for edit in TGTRAPP22155;Nigel.Hewitt
opened for edit in SRCGAPP21921;Bob.Carlo
opened for edit in ARSYAPP22182;RDP-ADMN-Jane.Pierre
This should tell you the name of the user and the machine on which the file has been checked out.
(To undo your own check out operation that you just did to get the above information, right-click on the same file/folder and choose Undo Pending Changes. If prompted if you want to "Undo check-out and discard changes?", choose "No to All" to preserve your existing changes and only roll-back check-out on files that don't have changes.)

Dreamweaver - template not recognising child files until they are opened

I've got a new section for a website which I have generated for a data source and it has markup for using a Dreamweaver template.
When I add the new files and folders to the site , then update my template , it doesn't find the new files to update.
If I open one of the new files , make a change in the template , then it recognises the new file is using the template. So it's almost like I have to touch all the files with Dreamweaver first.
I've tried to open all the new files which need to use the template but then Dreamweaver CS4 crashes, I presume because of the number of files it's opening.
Anyway, does anyone know if there is a way to make Dreamweaver recognise that a block of new files belong to the template , it doesn't seem to just work automatically
Thanks
Chris
You can force Dreamweaver to recreate it's site cache, which should cause it to recognize the newly added files. You can do this by going to:
Site -> Advanced -> Recreate Site Cache
Or on the Files panel, click the Options menu on the upper right of the panel, select Site -> Recreate Site Cache.
If Recreate Site Cache is disabled in the Site menu or on the Files panel options menu, then the site cache has been disabled in the site definition. Go to: Site -> Manage Sites..., select your site, and click Edit. IN Dreamweaver CS4 on the Local Info category, there is a Enable Cache checkbox, check it and click OK. IN Dreamweaver CS5, you'll need to expand the Advanced Settings, and then select Local Info, and check the Enable Cache checkbox.

Reviving a deleted file for use in my workspace

Greetings
We run perforce with several users. Each user has their own development website that shows files in their workspace. This is great for making and viewing changes to webpages before submitting them.
Sometime ago, we deleted a few pages in Perforce. I would like to revive these pages, but not to make them visible on our live site. I want to view them in my workspace and on my dev site, but I do want to push them out to our live server.
In the "depot" tab of my P4 client, I can see the deleted files. I cannot see them in the "Workspace" tab of my client.
How can I revive them for use in my Workspace, but not make them live to the world?
I'm not a P4 admin so I could use a little guidance.
Thanks for any help,
Found my answer.
A colleague suggested I Google on "Get Revision..."
http://kb.perforce.com/UserTasks/ManagingFile..Changelists/RecoveringDeletedFiles
I used all but the last two steps and it worked.
In the P4V GUI:
Ensure that the deleted files are shown in the Depot View pane (go to the View menu, select the Filter Depot menu and click on Show Deleted Depot Files. In newer versions of P4V this will be in the 'Search' menu instead)
Locate the file in the Depot View pane
Context-click on the file and select "Get Revision"
In the "Get Revision" dialog box, click on the radio button for "Specify revision using:" and leave "Revision" in the drop down box
In the empty box to the right of the "Revision" drop down item, type in the number of the last good revision of the file
Click "Get Revision"
In the Depot View pane, context-click on the file and select "Mark for Add"
In the Depot View pane, context-click on the file and select "Submit"
Fill in the changelist description and click "Submit"
With Perforce until you commit most commands don't do anything other than affect your local view of the repository.
So you can check out older versions of the file and have them in your client and as long as you don't check them in no one else (including your live site) will see them.
In both p4win and p4v there is an option to 'show deleted files'. In p4win and p4v, you can right click a file and select 'recover deleted file'. This does what you're doing manually, and the file will be open for add.
Am I missing something? They won't be live unless you put them on your live site.
Thanks for all the replies. I'm not a Perforce Guru so forgive me if I state this incorrectly.
Our system is set up so that we have our Live production site. Files submitted in perforce show on this Live site, as is normal. The general public sees this site. Each developer also has his/her own development site that only we can see. It mirrors our Live site. Our changes to a checked-out file in Perforce can be viewed in our development site, but not the Live site - until we submit the change(s). As expected, this allows us to view our changes before making them live.
When we delete files in Perforce, they are removed from our Workspace. I can still see them in my Depot tab, but they are not visible in either my Development site or in the Live site. What I wanted to do was to get the deleted files back into my Workspace so I could view them in my Development site, but not have them be visible (checked in) on our Live site.
The last post I made with instructions on doing this worked for my purpose. The files are back in my workspace but only visible in my Development site.
I was afraid of doing some Perforce restore of the files that might automatically make them live on our Live site again. This thinking was due to my inexperience with Perforce. With all your help, I now know how to do this.
Thanks again,

Resources