Say i have an NFT generated from CandyMachine. Candy Machine will automatically set a Collection to the NFTs. I want to remove a specific NFT from that collection. I don't want it to be transferred to other NFT collection. I just want to remove its collection attribute
is this possible?
Yes it is absolutely possible to remove a NFT from a collection.
You can use the unverify instruction for it. This will set the verified to false and with this basically remove it from collection. It will not remove the key string from metadata, but that should not be an issue since a NFT is only part of a collection if verified is true. To remove any traces in the metadata you could also use the set and verify instruction to set a different collection value.
Easiest method to do this is using metaboss:
metaboss collections unverify [FLAGS] [OPTIONS] --collection-mint <collection-mint> --nft-mint <nft-mint>
If you want to replace the collection use
metaboss collections set-and-verify [FLAGS] [OPTIONS] --collection-mint <collection-mint> --nft-mint <nft-mint> --update-authority-nft <update-authority-nft>
Related
I've created a Solana NFT through metaplex. 1 out of 1.
It's showing up in my Phantom wallet on mobile however it's different from the NFTs purchased on solanart.
On the NFT screen, it says "Collection NFT" and shows the actual image only if I tap into the collection (last one).
What should I do to make it look like the purchased ones?
Also somehow another unspecified and empty (no metadata) NFT is also there and I'm not sure what it is (third one in the list).
Quite new to this, so probably missing something simple...
Thank you!
regarding the "Collection NFT" - You have to manually add metadata to the NFT:
Upload a new JSON + PNG pair (e.g. with arloader, sol-nft.tools arkb). It should can look like any other NFT metadata but should contain the collection data that will be shown.
use cli-nft.ts create-metadata or metaboss to add the uri (from the step 1) to the collection nft mint
Update June 2022: There is now a way better method to updating single NFTs:
Search your collection adress (Open a NFT on solscan, look into the metadata tab. There is a "collection" value which is your collection address). Copy it.
go to https://sol-tools.tonyboyle.io/update-nft and connect your wallet
enter the collection address
Modify whatever you need
Regarding the third NFT in your list: It looks like that you did not verify the upload and therefore the data was not on chain when the token was minted. Have a look here: https://docs.metaplex.com/candy-machine-v2/verify-upload
I have created custom user property in Outlook called "Ownership". When someone from the team claim ownership of an email, person's name is saved as its value.
My question, is there any way to enumerate all the values of this custom property into combo box.
In simple words, get a list of all team members names (whoever has claimed ownership of an email in inbox folder).
I want to do something like this.
Outlook.UserDefinedProperties userDefinedProperties = null;
Outlook.UserDefinedProperty userDefinedProperty = null;
Outlook.MAPIFolder currentFolder = application.ActiveExplorer().CurrentFolder;
mailUserProperties = currentFolder.UserDefinedProperties;
mailUserProperty = mailUserProperties["Ownership"];
// Filling up the combo box
PersonCombo.Items.Add(userDefinedProperty.Value);
I want to use current folder because folder will have all the values while an email can only have one value of the custom property.
If this is not possible, is there any other way to get it done?
Thank you in advance.
There isn't a single query that will return all unique values of a particular named property. The best you can do is search for all items where the property exists (not null), and then build a list of unique values.
I do not think, however, this is a good of storing possible values - it really must be a single source, such as a particular GAL distribution list, or a hidden (associated) message in the folder that stores all possible values in a single property.
Thanks everyone for your input.
At the end, I ended up creating GAL distribution list as Dmitry suggested and used it for my purpose.
Outlook COM has a method under Application.Session.GetAddressEntryFromID method to grab an address entry without having to iterate through the entire Global or All Users address book.
The issue is it is expecting the ID that an entry has under the AddressLists object.
In Active Directory, there is no equivalent that gives me the same GetAddressEntryFromId string.
I was previously making a list of all users, minus rooms and resources, by going through the entire COM object, but that takes too long; 20mins.
I figured if I use AD, which is faster, with filters to find the users, then I can grab the GUID and when looking for info on the user, not have to go through the entire COM object to grab it, but it will happen locally to the executable being run.
The issue I am having, as an example, is that I have a user with the following ID;
00000000DCA740C8C042101AB4B908002B2FE18201000000000000002F6F3D45766572657374205265696E737572616E63652F6F753D436F72702D48512F636E3D526563697069656E74732F636E3D6A6E6700
In AD the msExchMailboxGuid has a value of
{4A49BD1C-62AE-4674-B097-C06528BDBEAE}
Not sure if these are the same, but I need to learn to better save it.
What else can I use, what can I do with the current time?
GAL entry id is constructed from the EX address (which is stored in the legacyDN attribute).
The entry id you have above contains the following:
I have an external list in SharePoint that references a BCDM I created inside visual studio. The entity as an ID that is auto generated in the database, which means it's read-only.
Create and read method works fine, I'm trying to implement the update method. I have set an input parameter that match my entity and I'm getting this error.
Failed to update a list item for this external list based on the Entity(External Content Type) ‘Notification’ in EntityNamespace ‘Namespace’. Details: The TypeDescriptor with name ‘Id’ in the Method ‘Microsoft.SharePoint.BusinessData.MetadataModel.Static.Method’ on Entity (External Content Type) with Name ‘Namespace’ in Namespace ‘Notification’ is marked ‘PreUpdaterField’, but is contained by another TypeDescriptor marked ‘PreUpdaterField’.
I tried every possible combinaison to make this work, make the id type descriptor read only, pre-updater field = true/ false/, updater field = true/false, removing it, adding another parameter outside the entity. NOTHING WORKS !!! Obviously, I'm about to commit a murder as something so simple just turned out to be the biggest waste of time in my programmation history. What can I do to make this works??
This has been resolved and is explained here:
http://www.dotnetmikael.com/2014/02/sharepoint-2013-bcdm-with-visual-studio.html
How to use the KV_INCR_KEY?
I found a useful feature in gwan api, but without any sample.
I want to add items to the KV store with this as primary key.
Also, how to get the value of this key?
The KV_INCR_KEY value is a flag intended to be passed to k_add().
You get the newly inserted key's value by checking the return value of k_add(). The documentation states:
kv_add(): add/update a value associated to a key
return: 0:out of memory, else:pointer on existing/inserted kv_item struct
This was derived from an idea discussed on the G-WAN forum. And, like for some other flags (timestamp or persistence, for example), it has not not been implemented yet (KV_NO_UPDATE is functional).
Since what follows the next version (focussed on new scripted languages) is a kind of zero-configuration mapReduce, the KV store will get more attention soon.