Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [asset]

The tag has no usage guidance.

0
votes
1answer
28 views

How do you write a test for a class that clones? [duplicate]

I have the following code that clones an asset and its' children... public class Cloner { public Asset root_asset { get; set; } public Asset cloned_root_asset {get; set; } public ...
0
votes
1answer
9 views

Changed File Asset & getting old version sometimes & new versions sometimes - cache has been cleared

I changed the image for a file asset. I am sometimes getting the old image and sometimes getting the new image when I use the same URL. It is as if Salesforce servers are out of sync. Does anyone ...
0
votes
2answers
74 views

Community Guest can see files in Asset Library

My Community Guest can see files in the Asset Library. How can I change this?
0
votes
1answer
24 views

Deleting an Asset file

I had an image in a rich text field in my Community. I was able to access the image file on the internet via the image's URL. I deleted the Asset File. However, it is still downloading when I ...
1
vote
1answer
82 views

What is the purpose of $ContentAsset provider? Why can't $Resource always be used?

What is the purpose of $ContentAsset provider? Why can't $Resource always be used? Is there any point of storing images, style sheets, and JavaScript in some other places rather than in ...
0
votes
1answer
38 views

Process Builder: How can I call another object while creating Work Order?

I'm trying to make the following happen. When creating a Work Order there are two fields that hold a master-relationship (Accounts & Assets). I want to create a process that allows me to call the ...
0
votes
1answer
54 views

Is it mandatory to have Assests/Images/CSS present in SFMC?

We are about to kickoff with ipwarming. we have emails ready, but the assets used in email creation are hosted on different server(not present in SFMC). Is this something I should worry about, and ...
2
votes
0answers
39 views

SLDS Assets global variable not working from Visualforce?

I'm blowing through some Trailheads and this bit is not working: <apex:page showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5....
0
votes
1answer
25 views

Different input fields dependent on Asset type

I'm working on a concept for asset management in Salesforce. The idea is Cars (type) Manufacturer (Audi, BMW, VW - Will most likely be an external lookup to CAP data) Model (A6) Derivative (1.8 ...
0
votes
1answer
258 views

Associating Asset records with Opportunity Product records

Our org has been storing serial numbers in an arbitrary text area field in the Opportunity Products object, delimited by arbitrary characters (commas, newlines, spaces, etc). This is very bad for a ...
1
vote
0answers
178 views

SFMC REST Api, create template based email

Im trying to create an email via REST API, based on an existing template. The only real documentation I can find is https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/...
2
votes
2answers
376 views

Automatically Linking Opportunity Product to Asset in Process Builder

I'm trying to create a process linking multiple Opportunity Products to an Asset, So that we can use it to know which products are part of what Asset. So far, this endeavour has multiple steps ...
2
votes
2answers
893 views

Products vs. Assets

I am designing an Opportunity Management solution for a company, where the company basically sells "Repo Homes". So the scenario is that I as a customer own a Home; I default on my mortgage. The Home ...
0
votes
1answer
31 views

Populate Standard Product Field from a Custom Lookup of Product Field

I'm having a custom Lookup of Product Field on Asset Object .I want that whenever i fill this Field ,it should populate the same with standard lookup of Product Field .Currently i'm using before ...
0
votes
3answers
436 views

Create Asset record from data on OrderItem and OpportunityLineItem records

Scenario: When an Opportunity is closed/won, we are creating an Order record with the corresponding OrderItem records based on the OpportunityLineItems of the Opportunity. When the OrderItems are ...
1
vote
2answers
66 views

Unable to retrieve Asset RecordType in APEX but in workbench

I am unable to retrieve Asset RecordTypes when I call following method in my apex code: Utils.getRecordTypeBySObjectType('Asset').get('Auto').Id It throws NullPointerException. It works for other ...
0
votes
1answer
37 views

How to import data in Asset Object from CSV without putting contact/Account field

I'm getting a daily CSV file. It contain the Customer Id(created on cotnact obj). Now I've to import the CSV file data in salesforce automatically. But to create a new record on Assest object we ...
0
votes
1answer
519 views

SOQL question: nested queries with AccountContactRelation

I'm having trouble with a nested SOQL query that hits Asset, Contact, and AccountContactRelation. There are two account record types related to contacts and I want to see both, but only one account ...
1
vote
1answer
207 views

Query or delete assets when there's relationship with cases

Cases can be related to assets- there's a list of cases with an asset. But there's no relationship - both on case and asset there's no lookup or master field! Even more, when I change account related ...
1
vote
2answers
2k views

Asset Relationship Object

At my company we are trying to use the new Asset Relationship objects in relation to Asset. I have been trying to look for documentation on this new standard object but have not found any. I already ...
1
vote
1answer
62 views

How to Get a list of All Asset Types?

I need to get a list of all Asset Types. I know that the documentation has a list of all asset types, but I wonder if there is any API method that I can use to get this list?
0
votes
1answer
50 views

Process builder on asset not populating asset id in newly created case(immediate action)

I am firing a process builder on Asset. In immediate action I am creating a Case. Now I have a lookup from Case to Asset, I am stamping the AssetId on the Case Lookup field. But this is not being ...
5
votes
1answer
490 views

Automate Content Builder Asset Creation

Long time listener, first time caller. I have been trying to get some repetitive tasks automated in order to make some lives easier and I have run up against a bit of a wall. FuelSDK doesn't have any ...
0
votes
1answer
92 views

Getting error while creating an Asset through a Trigger

I am having a custom Object. And when i insert a record in that, i have to create an asset with the values Account,product and Serial Number from my Custom Object. I have wrote a trigger. But while ...
0
votes
1answer
156 views

Populate custom Leads fields to Assets fields on 'convert'

My company wants to gather the client's assets at the lead stage and automatically populate the assets page of the account once the lead gets converted. The same assets fields currently exist as ...
0
votes
3answers
70 views

please rectify error System.NullPointerException: Attempt to de-reference a null object Error is in expression '{!readUser}'

I need your help, I am a newbie in Salesforce. Requirement : Based on employee id need to display assets(like laptop mobile,computers provided by organisations to employees) issued to him by employer ...
0
votes
2answers
531 views

Insert Asset in Apex: Invalid Field ProductFamily on sObject Asset

my last Asset issue was self inflicted. This time, I have made sure I use the hightest API version (v37). Following Code has been tested in a Dev Org and in a Sandbox. asset a = new Asset ( ...
2
votes
1answer
446 views

Invalid Field RecordTypeId for sObject Asset (Known issue?)

We have created several RecordTypes for Assets. I am building a class to insert them. First I tried my usual approach: Asset myAsset = new Asset( Name = 'Test', ...
1
vote
1answer
176 views

Get currency from Asset object in Apex

How do I get the currency in which asset price is stored? Can I write something like asset.currency in Apex? I'm creating a package for org with multiple currencies, and I need to convert the asset ...
0
votes
1answer
301 views

Apex Trigger to create a contract from Asset

I am currently in the process of trying to get a trigger that will create a new contract each time an asset is created (within a certain product family) When our salesforce was setup our consultant ...
0
votes
1answer
332 views

Adding Assets to Custom Lightning Experience Navigation Menus

From the help docs here it states that... You can include these Salesforce objects in custom navigation menus: Accounts, Assets, Campaigns, Cases, Contacts, Files, Dashboards, Events, ...
2
votes
1answer
350 views

Create Asset hierarchy in single REST API call - Parent and child assets

I would like to create Asset hierachy with a single REST API call, providing root Asset and his child Assets (Documentation). I can't do this because it seems that Asset.ParentId field doesn't have ...
1
vote
1answer
184 views

How to find all Assets that are not referred by other Assets?

My situation is: Assume I am selling computers, so each computer has an Asset. Also, each computer has components like monitor, motherboard, cpu, etc. Each component has an Asset too, and they all ...
1
vote
1answer
18 views

Where to keep product information?

I use Salesforce to keep track of the customers my company has. We are a software vendor and we need to keep track of the software version our customers install. I can see how I can add an Asset ...
1
vote
1answer
533 views

Query Asset from case

I am trying to query for asset name from case and my query is: SELECT ID, accountId, account.assetId from case limit 10 but the above query is not working. Error: No such column 'assetId' on entity '...
0
votes
1answer
436 views

How do I set a Lookup field for an Asset name via a Visualforce page

I am creating a new Case via a VF page in a VF+Tabs Community (not using SFDC stylesheets) and want the user to be able to set the Asset Name to the Asset related to their new Case. The Asset Name is ...
-1
votes
2answers
1k views

VF page to create a New Case need code to add picklist of Asset Names from Users Account

We have a Visualforce page that is creating a New Case using a limited number of fields for the user to complete before submitting the Case. This page can only be accessed after the user logs in to ...
0
votes
1answer
47 views

What would be the best way to create a case for a product (through Asset or Contract or Product pick list or any other way)?

I have been working to create a case for a product which would create a service order in SAP. I knew there are ways to create a case record for a product using Assets and Contracts or using the ...
2
votes
1answer
285 views

Why can't I add a lookup filter on the product field on assets?

When I go to edit asset metadata I can bring up the (empty) list of lookup filters but I can't add one because there are no buttons to do so. Only some of our products should be selectable as assets (...